Skip to content

Releases: openapi-processor/openapi-parser

2023.2

29 May 21:08
Compare
Choose a tag to compare

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

03 Jan 15:22
Compare
Choose a tag to compare

support requestBody $ref

v30/RequestBody & v31/RequestBody now implement Reference

updated dependencies

  • jackson 2.14.1

2022.1.1

26 May 17:13
Compare
Choose a tag to compare

updated dependencies

  • jackson 2.13.3

2022.1

26 May 08:20
Compare
Choose a tag to compare

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