Releases: openapi-processor/openapi-parser
2023.6
2023.5
openapi-parser
#44, follow http redirects
json-schema.org does now provide old schemas by redirecting http to https. The UriReader did not handle the http redirect. It is now using java.net.http.HttpClient to handle http(s) uris (including redirects).
io-jackson
updated dependencies
- com.fasterxml.jackson:jackson-* from 2.15.2 to 2.15.3
2023.4
2023.3
openapi-parser
parser api change
parser setup has changed, see usage.
validation
- added validation for OpenAPI 3.1
json-schema-validator
draft 2020-12 support
- passes now all official 2020-12 tests
- supports format vocabulary
draft 2019-09 support
- create
formatannotations - check format assertion vocabulary
2023.2
openapi-parser
java 11
increased minimum java version from 8 to 11
validation
OpenAPI 3.0 schema validation does now create a single flattened document (i.e. external files are inlined and the $referenced object are added to the components section) before it runs the validation with the json-schema-validator.
This is a preparation for validation of OpenAPI 3.1 documents. OpenAPI 3.0 validation support in the json-schema-validator was relatively easy but OpenAPI 3.1 would add a lot of complexity.
json-schema-validator
renamed project from io.openapiprocessor.openapi-parser-validator to io.openapiprocessor.json-schema-validator.
draft 2020-12 support
nearly done, $vocabulary support, format-assertions/ format-annotation is not yet fully implemented. Does not yet pass all test of the JSON Schema Test Suite tests.
draft 2019-09 support
nearly done, $vocabulary support is not yet fully implemented. Passes all tests of JSON Schema Test Suite tests.
output formats
support for the output formats flag, basic & verbose on any draft version.
io-jackson, io-snakeyaml
renamed projects from io.openapiprocessor.openapi-parser-jackson/snakeyaml to io.openapiprocessor.io-jackson/io.snakeyaml.
dependencies
- com.fasterxml.jackson:jackson-* from 2.14.1 to 2.15.1
- org.yaml:snakeyaml from 1.33 to 2.0
2023.1
2022.1.1
2022.1
openapi-parser & validator
a Java 8 based OpenAPI 3.0.x & 3.1 parser with validation and pluggable document reader & json/yaml converter.
- parse OpenAPI 3.0.x & 3.1
- validate OpenAPI 3.0.x & 3.1 (json schema validation, can follow $ref's in the OpenAPI document)
- separate apis for OpenAPI 3.0 & 3.1
- easily get resolved $ref object
- minimal dependencies
- pluggable document reader
- pluggable json/yaml converter
this is still work in progress. It is usable, but has the following limitations at the moment:
- it does support most but not all OpenAPI object properties
- JSON schema validation is only available for OpenAPI 3.0.x
- api may change