Releases: pb33f/libopenapi-validator
Release list
v0.13.13
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.
v0.13.12
bumps to yaml RC6, fixing a bunch of panics across the stack.
v0.13.11
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.
v0.13.10
Fixes #281, fixes tests in from libopenapi bump and moves to our own fork of testify.
v0.13.8
-
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.
v0.13.7
v0.13.6
v0.13.5
v0.13.4
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
v0.13.3
Fixes #27
And fixes pb33f/wiretap#134 fully