Closed
Description
OAS 3.1.0 changes from supporting most of an older JSON schema draft to supporting the whole of the JSON Schema 2020-12 draft Core and Validation.
We need to work out:
- The changes needed to our
Schema
model class to support the 3.1.0 schema - Any changes we want to make to our
@Schema
and related annotations in order to allow users to take advantage of the new functionality that is available - The changes needed to the TCK to expect the new format of schema
- Existing tests will need changes where JSON schema has made changes to properties
- Any new functionality will need new tests
Tasks:
- Update
Schema
model - Update existing TCKs to expect schemas in the new format
- Write new TCKs which use the new parts of the schema model
- Write new TCKs which test the extensibility of the schema model, particularly in passing through a completely custom schema
- Write new TCKs which test setting custom properties with the same name as properties set by other getters and setters
- Write new TCKs which test setting custom properties to all of the supported types
- Update the
@Schema
annotation to expose new and changed parts of the schema model Schema annotation updates #601 - Update TCKs to cover new
@Schema
attributes Schema annotation updates #601 - Check whether we've fixed Open API 3.1 Conditional Schemas #567