Skip to content

Releases: pb33f/libopenapi-validator

v0.0.50

25 Apr 14:38
Compare
Choose a tag to compare

Moved internal cache to sync.Map in response body validator

url.Parse does not handle special characters well.

Some openapi server configurations will have variable templating (ie. {host}). Adds a second parsing attempt if the initial attempt fails by attempting to remove the host.

@jacobm-splunk @k1LoW

v0.0.49

21 Apr 14:22
Compare
Choose a tag to compare

This fix supports the range definition for response codes.

ref: https://swagger.io/docs/specification/describing-responses/

Also fixes a race condition discovered in vacuum when running tests

Response code range fix added by @k1LoW

v0.0.48

12 Apr 18:17
Compare
Choose a tag to compare

Added the following properties to ValidationError

SpecPath = the spec path of the error
RequestMethod = HTTP verb used in the error
RequestPath = HTTP path used in the error

@jacobm-splunk

v0.0.47

11 Apr 09:13
Compare
Choose a tag to compare

Supports / for server definitions now when looking up paths, Fixes a bug with missing security schemes also.

@k1LoW @emilien-puget

v0.0.46

26 Mar 13:33
Compare
Choose a tag to compare

Bugfix to prevent base paths from being altered accidentally.

@k1LoW

v0.0.45

11 Mar 21:24
Compare
Choose a tag to compare

Path parameter validation did not properly strip the base path from the request path when doing parameter validation.

If the server had a non-null postfix path, then the incorrect parameter would be validated.

@jacobm-splunk

v0.0.44

07 Mar 12:42
Compare
Choose a tag to compare

String and number path param validation has been improved.

@emilien-puget

v0.0.43

04 Mar 12:32
Compare
Choose a tag to compare

Add the support to validate query simple params like

parameters:
  - name: fishy
    in: query
    required: true
    schema:
      type: string
      minLength: 4
parameters:
  - name: fishy
    in: query
    required: true
    schema:
      type: number
      minimum: 200

@emilien-puget

v0.0.42

27 Jan 19:50
Compare
Choose a tag to compare

Addressed issue #48

v0.0.41

27 Jan 19:49
Compare
Choose a tag to compare

Added various enhancements to deepObject validation on requests, and addressed issues reported via wiretap.