Skip to content

Releases: pb33f/libopenapi-validator

v0.13.13

Choose a tag to compare

@daveshanley daveshanley released this 24 Jun 19:55

Fixed slowdown in new $def schema resource composition at scale, by using a cache, which needs lifecycle management, so in comes the Release() pattern from libopenapi.

Also reorders a prop in a struct, because it was creating a build issue downstream.

@siretart

v0.13.12

Choose a tag to compare

@daveshanley daveshanley released this 23 Jun 16:42

bumps to yaml RC6, fixing a bunch of panics across the stack.

v0.13.11

Choose a tag to compare

@daveshanley daveshanley released this 22 Jun 12:26

Circular refs supported in schema validation.

Circular references were never allowed in schema validation because the work required to bring references in line was too great. There have been many advances in libopenapi recently that have made this easier.

So, now the schema validator will build all references as inline resources first. This would have been too much work a year ago, but here we are.

Addresses issues #290 an #287

v0.13.10

Choose a tag to compare

@daveshanley daveshanley released this 15 Jun 22:01

Fixes #281, fixes tests in from libopenapi bump and moves to our own fork of testify.

v0.13.8

Choose a tag to compare

@daveshanley daveshanley released this 26 May 15:53
  • Reworked request and response schema validation to use errors.As instead of direct JSON Schema error type assertions, making validation error handling safer when errors are wrapped.

  • Fixed a goroutine leak in schema-property lookup for empty JSONPath values and added a regression test for that case.

@SebTardif

v0.13.7

Choose a tag to compare

@daveshanley daveshanley released this 27 Apr 13:27

Fixes a few issues.

v0.13.6

Choose a tag to compare

@daveshanley daveshanley released this 27 Apr 11:07

Fixes issues #83 (an oldie!)

v0.13.5

Choose a tag to compare

@daveshanley daveshanley released this 26 Apr 17:20

Addresses

@vmarceau

v0.13.4

Choose a tag to compare

@daveshanley daveshanley released this 15 Apr 12:33

Add opt-in readOnly/writeOnly rejection to strict mode

When StrictRejectReadOnly is enabled, readOnly properties in requests are reported as validation errors instead of being silently skipped. When StrictRejectWriteOnly is enabled, writeOnly properties in responses are reported similarly.

Addresses #90

@byted

v0.13.3

Choose a tag to compare

@daveshanley daveshanley released this 15 Mar 02:35

Fixes #27

And fixes pb33f/wiretap#134 fully