Skip to content

Releases: pb33f/libopenapi-validator

v0.13.13

24 Jun 19:55

Choose a tag to compare

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

23 Jun 16:42

Choose a tag to compare

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

v0.13.11

22 Jun 12:26

Choose a tag to compare

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

15 Jun 22:01

Choose a tag to compare

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

v0.13.8

26 May 15:53

Choose a tag to compare

  • 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

27 Apr 13:27

Choose a tag to compare

Fixes a few issues.

v0.13.6

27 Apr 11:07

Choose a tag to compare

Fixes issues #83 (an oldie!)

v0.13.5

26 Apr 17:20

Choose a tag to compare

Addresses

@vmarceau

v0.13.4

15 Apr 12:33

Choose a tag to compare

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

15 Mar 02:35

Choose a tag to compare

Fixes #27

And fixes pb33f/wiretap#134 fully