de.codecentric.hikaku.SupportedFeatures.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hikaku-core Show documentation
Show all versions of hikaku-core Show documentation
A library that tests if the implementation of a REST-API meets its specification. This module contains the core elements which can be used to create additional converters and reporters.
package de.codecentric.hikaku
import de.codecentric.hikaku.converters.EndpointConverter
/**
* A list of features supported by an [EndpointConverter].
*/
class SupportedFeatures(
private val supportedFeatures: Set = emptySet()
) : Set by supportedFeatures {
constructor(vararg feature: Feature): this(feature.toSet())
enum class Feature {
/** Checks the equality of query parameters. */
QueryParameters,
/** Checks the equality of path parameters. */
PathParameters,
/** Checks the equality of header parameters. */
HeaderParameters,
/** Checks supported media type of responses. */
Produces,
/** Checks supported media type of requests. */
Consumes,
/** Checks the equality of matrix parameters. */
MatrixParameters
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy