Skip to content

Releases: mattpolzin/OpenAPIKit

Additions, Tests, Fixes

04 Nov 01:45
104e5e1

Choose a tag to compare

Pre-release
  • Add style and explode to OpenAPI.Content.Encoding
  • Move vendor extensions encoding into shared protocol extension.
  • Add a bunch of custom encoding implementations to fix a bug where null was being written (from a small subset of types) when a property should simply be omitted from the encoded value.
  • Add some tests.
  • Better error checking around vendor extension decoding.

⚠️ Breaking Changes ⚠️
The change to omit certain values instead of encoding null is both a fix and a breaking change.

Add remaining `Parameter` properties

29 Oct 15:56

Choose a tag to compare

Pre-release

Added remaining Parameter properties. These were added under a new Parameter.Schema type because they are not applicable if a Content.Map is used instead of a JSONSchema.

⚠️ Breaking Changes ⚠️
Some restructuring was done when nesting Parameter's JSONSchema under a new Parameter.Schema type.

Ease-of-use improvements

29 Oct 01:34

Choose a tag to compare

Pre-release

Focused on making declarative OpenAPI documents easier to write in Swift.

⚠️ Breaking Changes ⚠️
A number of changes to function/initializer arguments or argument names were made. Some of these are breaking and others are not but all of them make declarative document definitions cleaner.

Add convenience constructors for `Parameter.schemaOrContent`

21 Oct 00:04

Choose a tag to compare

0.5.4

Add convenience constructors for Parameter schemaOrContent

Add `trace` HttpVerb case

20 Oct 03:19

Choose a tag to compare

Pre-release

Add missing HttpVerb.trace case.

Add checks for which case a `Parameter.Location` is in

09 Oct 04:46

Choose a tag to compare

0.5.2

Add convenience checks for which case a Parameter.Location is in

Add `required` to `Parameter`

09 Oct 04:08

Choose a tag to compare

Pre-release
0.5.1

Expose Parameter.Location's required property on the Parameter struct

Numerous Additions

06 Oct 22:25

Choose a tag to compare

Numerous Additions Pre-release
Pre-release

Added support for Example Object and with it examples on Components Object and Media Type Object.

Rounded off test coverage of Media Type Object.

Added a number of other small things.

⚠️ Breaking Changes ⚠️
Requires Swift 5.1

Add vendor extensions to Content

19 Sep 07:14

Choose a tag to compare

Pre-release

Content gets vendor extensions (specification extensions) via a dict that can hold arbitrary additional properties.

Tons of additions, improvements, test coverage, and breaking changes.

07 Sep 20:29

Choose a tag to compare

⚠️ Breaking Changes ⚠️

  • PathItem Parameter
  • JSONReference
  • JSONSchema