openapi-enforcer
Advanced tools
Changelog
1.12.7
ReadOnly and WriteOnly Error Message Fix
Although readOnly and writeOnly errors were being caught correctly, the messaging was negative. For example, it would say "Cannot write to read only" when it meant "Cannot read from write only" and vice versa.
Changelog
1.12.6
ReadOnly and WriteOnly
The library was incorrectly not accounting for readOnly and writeOnly when using schema validation. This functionality has been added.
Changelog
1.12.5
Fixed Vulnerability
Updated Axios library to fix critical vulnerability.
Changelog
1.12.4
Bundle Paths with / or ~
Bundled paths that included a /
or ~
were incorrectly being converted when generating $ref values.
Changelog
1.12.3
Dereference Path Resolution
Path resolution was not always correctly determining the source path.
Changelog
1.12.2
OpenAPI component path and request details
The request
and path
did not always add pathItem
, operation
, and pathKeys
properties that were added in 1.12.1
.
Changelog
1.12.1
OpenAPI component path and request details
The request
and path
functions may produce an exception if an invalid request is made. This code adds either the pathItem
component or operation
component and pathKey
properties to the exception object when possible.
Changelog
1.12.0
Schema type not required
Previous versions have required the type
property to be specified for schemas (except in the case where one of allOf
, anyOf
, oneOf
, and not
are defined).
This update no longer requires type
to be specified. If type
is not specified then the OpenAPI Enforcer will attempt to auto determine type. If the type cannot be determined and should exist then warning WSCH005
("Schemas with an indeterminable type cannot serialize, deserialize, or validate values.") will be generated.
Changelog
1.11.2
Bundler
Bundler had a few bugs that made it not work in most cases. Oops. Now fixed to work much better.
Changelog
1.11.1
Date-time numoffset optional colon
Fixed the date-time regular expression to allow the colon to be optional per RFC3339 Appendix-A.