Releases: mattpolzin/OpenAPIKit
Fix key decoding bug.
Fixes key decoding bug with OrderedDictionary and adds support for status code ranges and partial content types.
Improved Error messages
The types of errors that come out of decoding are largely new.
Fix bug with parsing schema examples that are not wrapped in strings.
Merge pull request #19 from mattpolzin/add-to-compat-suite Add to compat suite
Add compatibility suite and fix a couple bugs
- Add compatibility suite with Google Books API description.
- Fix
Operation.requestBody
to support a reference in addition to inline def. - Support schemas with no type as a new
.undefined
case ofJSONSchema
. - Support arbitrary
format
strings for allJSONSchema
types instead of failing for non-standard formats.
Additional Header Schema support, additional JSON Schema support
- Finished adding Header Schema properties.
- Added
readOnly
,writeOnly
, anddeprecated
toJSONSchema
. - Improved test coverage.
Test coverage and a small bug fix
While writing tests, discovered a small bug where PathItem.Map
was allowed to have references as values even though OpenAPI does not allow this and there is no entry for Path Items in the Components Object anyway.
- Fixed bug allowing JSON reference for value in
PathItem.Map
which is a breaking change for declarative initialization or accessing those values from code.
Better support for transformation use-cases.
Move to vars in a number of places and add some convenience mutating methods to PathItem
.
Add public vendor extendable existentail support.
0.15.0 Merge pull request #10 from mattpolzin/feature/vendor-extendable-exis…
Add OAuthFlows Security Scheme support
0.14.0 update README table of contents
Add `OrderedDictionary`
Many of the Dictionary
types have been replaced by a new OrderedDictionary
. This means that encoding and decoding can retain the ordering of JSON/YAML objects. This ability is still contingent upon the specific encoder or decoder being used retaining that information in the course of its duties.
The Foundation library JSONEncoder
retains ordering on OS X, but does not on Linux. The Foundation JSONDecoder
does not retain ordering on any operating system. There is, however, currently an alternative that does retain ordering on all operating systems and seems worth trying: FineJSON.
The most popular YAML decoder/encoder, Yams, does retain ordering.