Skip to content

Releases: openapi-processor/openapi-parser

2023.6

19 Nov 15:01

Choose a tag to compare

io-jackson

updated dependencies

  • updated com.fasterxml.jackson:jackson-* to 2.16.0

2023.5

22 Oct 13:15

Choose a tag to compare

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

17 Sep 08:11

Choose a tag to compare

openapi-parser

parser api addition

added getOperations() to PathItem. It returns a map of all operations in the same order as in the OpenAPI description.

2023.3

10 Sep 16:40

Choose a tag to compare

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 format annotations
  • check format assertion vocabulary

2023.2

29 May 21:08

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

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

Choose a tag to compare

updated dependencies

  • jackson 2.13.3

2022.1

26 May 08:20

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