Repository navigation
Better JsonSchema allOf support
Pre-release
Pre-release
- Added
.othercase toOpenAPI.ContentType. - Added
PathItem.endpointsto get an array of all endpoints defined for the particular path. - Added validation that security schemes referenced from
PathItem.Operationscan be found in theComponents. - Added
JSONSchemaFragmentto allowJSONSchema.all(of:)case to represent less than wholeJSONSchemas. - Fixed bug where
JSONSchemawould not parse anything without an explicittypespecified -- upon further reading of the JSON Schema specification, it is fine to omit thetypeproperty. NowJSONSchemais happy as long as it has some way to infer the type.
- Renamed the wildcard
ContentTypesto be "any" instead of "all":
all->anyapplicationAll->anyApplicationaudioAll->anyAudioimageAll->anyImagetextAll->anyTextvideoAll->anyVideo
JSONSchema.all(of:)used to store an array ofJSONSchemawhereas now it stores an array ofJSONSchemaFragment.