github pb33f/libopenapi-validator v0.7.0

latest releases: v0.14.0, v0.13.13, v0.13.12...
11 months ago

Support for considering the OpenAPI version in response.ValidateResponseSchema and request.ValidateRequestSchema.

Each function signature contains a breaking change.

In ValidateRequestSchema and ValidateResponseSchema, I think the version should ideally be passed as a parameter via config.Option, but since all other functions were passing the version as an argument, I followed suit.
(For example, the intent of the arguments of helpers.NewCompiledSchemaWithVersion becomes unclear.)

#186

@k1LoW

Don't miss a new libopenapi-validator release

NewReleases is sending notifications on new releases.