Closed stephenfin closed 1 year ago
This isn't my finest work but it passes with the schema I'm using locally. There are quite a few changes in OpenAPI 3.1 but two are addressed here:
There's a whole lot more to support here including things like webhooks but we focus on the MVP here. All that extra functionality can be added later.
A list of commits:
Add initial framework for OpenAPI 3.1
OAS 3.1: Support specs without 'paths'
OAS 3.1: Support null type
OAS 3.1: Prefer non-null values
tox: Allow running specific tests
Update OpenAPI-Specification submodule
Add tests for OpenAPI 3.1 schemas
This isn't my finest work but it passes with the schema I'm using locally. There are quite a few changes in OpenAPI 3.1 but two are addressed here:
There's a whole lot more to support here including things like webhooks but we focus on the MVP here. All that extra functionality can be added later.
A list of commits:
Add initial framework for OpenAPI 3.1
OAS 3.1: Support specs without 'paths'
OAS 3.1: Support null type
OAS 3.1: Prefer non-null values
tox: Allow running specific tests
Update OpenAPI-Specification submodule
Add tests for OpenAPI 3.1 schemas