Better JsonSchema allOf support
Pre-release
Pre-release
- Added
.other
case toOpenAPI.ContentType
. - Added
PathItem.endpoints
to get an array of all endpoints defined for the particular path. - Added validation that security schemes referenced from
PathItem.Operations
can be found in theComponents
. - Added
JSONSchemaFragment
to allowJSONSchema.all(of:)
case to represent less than wholeJSONSchemas
. - Fixed bug where
JSONSchema
would not parse anything without an explicittype
specified -- upon further reading of the JSON Schema specification, it is fine to omit thetype
property. NowJSONSchema
is happy as long as it has some way to infer the type.
- Renamed the wildcard
ContentTypes
to be "any" instead of "all":
all
->any
applicationAll
->anyApplication
audioAll
->anyAudio
imageAll
->anyImage
textAll
->anyText
videoAll
->anyVideo
JSONSchema.all(of:)
used to store an array ofJSONSchema
whereas now it stores an array ofJSONSchemaFragment
.