A library that tests if the implementation of a REST-API meets its specification.
APACHE-2.0 License
Bot releases are hidden (Show)
Core
SpringConverter
MicronautConverter
OpenApiConverter
Published by cc-jhr over 3 years ago
Core
SpringConverter
OpenApiConverter
RamlConverter
MicronautConverter
JaxRsConverter
javax.ws.rs.
to jakarta.ws.rs.
Published by cc-jhr over 4 years ago
Core
MicronautConverter
SpringConverter
OpenApiConverter
Published by cc-jhr over 4 years ago
Core
SpringConverter
OpenApiConverter
MicronautConverter
RamlConverter
Published by cc-jhr almost 5 years ago
SpringConverter:
MicronautConverter:
Published by cc-jhr about 5 years ago
Core:
OpenApiConverter:
MicronauConverter:
JaxRsConverter:
RamlConverter:
Published by cc-jhr about 5 years ago
Core:
HikakuConfig
with dynamic rule set using predicates. See migration guide below Thanks to @jrehwaldt for bringing up this idea in #26 and thanks a lot to @syjer for coming up with a proposal for the implementation in #44
Endpoint
for httpMethod
and path
MicronautConverter:
SpringConverter:
The configuration has changed. You can now freely create rules to exclude endpoints from matching. If you've been using the HikakuConfig
options here is how you can migrate to 3.0.0:
If you previously used the ignoreHttpMethodHead
in the config, change your config to the following:
Kotlin:
HikakuConfig(
filter = listOf (
{ endpoint -> endpoint.httpMethod == HEAD }
),
reporter = listOf(reporter)
)
If you previously used the ignoreHttpMethodOptions
in the config, change your config to the following:
Kotlin:
HikakuConfig(
filter = listOf (
{ endpoint -> endpoint.httpMethod == OPTIONS }
),
reporter = listOf(reporter)
)
If you previously used the ignorePaths
in the config, change your config to the following:
Kotlin:
HikakuConfig(
filter = listOf (
SpringConverter.IGNORE_ERROR_ENDPOINT,
{ endpoint -> endpoint.path == "/other-path"},
),
reporter = listOf(reporter)
)
Of course you can combine all of these as well:
Kotlin:
HikakuConfig(
filter = listOf (
{ endpoint -> endpoint.httpMethod == HEAD },
{ endpoint -> endpoint.httpMethod == OPTIONS },
SpringConverter.IGNORE_ERROR_ENDPOINT,
{ endpoint -> endpoint.path == "/other-path"},
),
reporter = listOf(reporter)
)
And you can create more individual rules.
Published by cc-jhr over 5 years ago
Core:
Core / JaxRsConverter / MicronautConverter / OpenApiConverter / RamlConverter / SpringConverter:
Core / JaxRsConverter / MicronautConverter:
SpringConverter:
MicronautConverter
OpenApiConverter
Published by cc-jhr over 5 years ago
Core:
OpenApiConverter:
MicronautConverter:
Published by cc-jhr over 5 years ago
OpenApiConverter:
SpringConverter:
Published by cc-jhr over 5 years ago
General:
OpenApiConverter:
SpringConverter:
WadlConverter:
JaxRsConverter:
Published by cc-jhr over 5 years ago
OpenApiConverter:
RAML Converter:
WadlConverter:
Published by cc-jhr over 5 years ago
General
RamlConverter
OpenApiConverter
SpringConverter
WadlConverter
Published by cc-jhr over 5 years ago
General:
MatchResult
is being generated which differs between Endpoints that were expected, but not found and Endpoints that were not expected, but have been found.SpringConverter:
OpenApiConverter:
usingFile()
and usingPath()
WadlConverter:
usingFile()
and usingPath()