Skip to content

Releases: pb33f/libopenapi-validator

v0.6.0

15 Sep 01:43

Choose a tag to compare

Adds a custom vocabulary to the schema validator to support OpenAPI 3.0 keywords and provide proper nullable validation for 3.1 (not allowed) and 3.0 (allowed) as well as other OpenAPI specific keywords like discriminator

daveshanley/vacuum#710
daveshanley/vacuum#603

Also adds Jackson-style scalar coercion (string->boolean/number) configuration options.

v0.5.0

14 Sep 01:47

Choose a tag to compare

Fixes for

And also brings in support for latest deps and yaml.

v0.4.7

02 Jun 20:56

Choose a tag to compare

Adds support for integer number formatting in addition to the catch-all number formatting.

Also normalizes schemas before validation.

@reversearrow @trusta

v0.4.6

22 May 02:12

Choose a tag to compare

Addresses a number of issues.

v0.4.5

20 May 21:42

Choose a tag to compare

Addresses #120

Two new helper functions in helpers module.

ExtractJSONPathFromValidationError(e *jsonschema.ValidationError) string

and

ExtractJSONPathsFromValidationErrors(errors []*jsonschema.ValidationError) []string

v0.4.4

17 May 12:19

Choose a tag to compare

Allows passthrough of all validation options

Resolves #144

v0.4.3

17 May 11:33

Choose a tag to compare

Adds support for MinItems and MaxItems and UniqueItems in parameter validation. Also Check items when validating enums in array query parameters.

Bumps deps and removes the last trace of the yamlpath dependency

@mike-zorn

v0.4.1

05 May 13:50

Choose a tag to compare

Bumped deps and added support for full range media types. #141

@emilien-puget

v0.4.0

14 Apr 22:17

Choose a tag to compare

Fixes a few issues and introduces a new CLI to quickly validate.

New CLI feature defined in #137, docs are defined in the README.

@reversearrow @FFFFFFatsLan @JemDay @Rishabh-Daga

v0.3.1

08 Apr 21:34

Choose a tag to compare

Fixes a number of bugs and bumps dependencies.

Includes

And fixes