---
title: "github.com/mattpolzin/openapikit (swift) | Since.dev"
description: "What each github.com/mattpolzin/openapikit release on Swift Package Index removed, renamed or changed, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/mattpolzin/openapikit
last_updated: 2026-12-04
---

# github.com/mattpolzin/openapikit breaking changes

github.com/mattpolzin/openapikit 7.0.0-beta.3 (September 30, 2026) is its newest release with breaking changes, 2 of them. The first: Removed OpenAPI.Document.Version. Every breaking API change we have recorded in github.com/mattpolzin/openapikit on Swift Package Index: 154 breaking changes in 59 versions. Below, its 59 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.0.0`, released September 30, 2026. [Source repository](https://github.com/mattpolzin/OpenAPIKit)

Its 5.0.0 release requires [iOS 12](https://since.dev/calendar/ios/12.md) or later. [iOS end of life dates](https://since.dev/calendar/ios.md).

- From [6.0.0](#v-6-0-0) to [7.0.0-beta.3](#v-7-0-0-beta-3): 5 breaking changes in 3 versions.
- From [0.4.0](#v-0-4-0) to [7.0.0-beta.3](#v-7-0-0-beta-3): 151 breaking changes in 58 versions.

## github.com/mattpolzin/openapikit 7.0.0-beta.3 breaking changes

github.com/mattpolzin/openapikit 7.0.0-beta.3, released September 30, 2026: 2 breaking changes.

- **Removed** `OpenAPI.Document.Version`  

Switches covering all Version cases must add the new 3.2.1 case, and Version.v3_2_x(x: 1) must be spelled Version.v3_2_1. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/7.0.0-beta.3)
- **Default changed** `OpenAPI.Document.Version`  

New documents now default to version 3.2.1 instead of 3.2.0. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/7.0.0-beta.3)

## github.com/mattpolzin/openapikit 7.0.0-beta.2 breaking changes

github.com/mattpolzin/openapikit 7.0.0-beta.2, released September 30, 2026: 1 breaking change.

- **Signature changed** `ExternalLoader.componentKey`  

The componentKey function now receives the loaded object rather than its type, so existing ExternalLoader implementations must update their signature. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/7.0.0-beta.2)

## github.com/mattpolzin/openapikit 7.0.0-alpha.1 breaking changes

github.com/mattpolzin/openapikit 7.0.0-alpha.1, released September 30, 2026: 2 breaking changes.

- **Behavior changed**  

The minimum Swift version has increased to Swift 6.2, so projects on older Swift toolchains must upgrade. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/7.0.0-alpha.1)
- **Behavior changed** `JSONReference.InternalReference`  

A $ref whose fragment has no leading slash is now parsed as an anchor, so it encodes back as written instead of being rewritten with a slash. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/7.0.0-alpha.1)

## github.com/mattpolzin/openapikit 6.0.0 breaking changes

github.com/mattpolzin/openapikit 6.0.0, released April 29, 2026: 1 breaking change.

- **Configuration changed**  

The package now requires Swift 6.1 or later to build; users on older Swift toolchains must upgrade. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/6.0.0)

## github.com/mattpolzin/openapikit 5.0.0 breaking changes

github.com/mattpolzin/openapikit 5.0.0, released January 27, 2026: 18 breaking changes.

- **Removed** `OpenAPI.HttpMethod`  

The OpenAPIKit30 module's HttpMethod was renamed to BuiltinHttpMethod. In the OpenAPI module, HttpMethod now has only .builtin and .other cases, so switches over it must be updated. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Removed** `OpenAPI.Parameter.Context.Location`  

A new querystring location was added, which breaks exhaustive switches over Parameter.Context or its Location. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Removed** `OpenAPI.Parameter.init`  

Many Parameter initializers were removed; use the header, query, path or cookie constructors instead. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Removed** `ParameterContext.header`  

Convenience constructors like ParameterContext.header were removed; schema or content must now be specified. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Behavior changed**  

Compiling on iOS now requires v12 or later. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Behavior changed**  

Support for Swift versions before 5.10 was dropped. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Behavior changed** `application.x-yaml`  

application/x-yaml is still read but YAML is always encoded as application/yaml. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Behavior changed** `OpenAPI.Components.init`  

Components dictionaries accept references, so in-code construction may need Components.direct() or Either wrapping, and lookups can throw ReferenceCycleError. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Behavior changed** `OpenAPI.Content.encoding`  

The encoding property is now an Either of an encoding map or positional encodings; use encodingMap for the old behavior. [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)
- **Behavior changed** `OpenAPI.Content.Map`  

Content.Map values can be references, so code reading contents must dig one level deeper or use .direct(). [github.com](https://github.com/mattpolzin/OpenAPIKit/blob/main/documentation/migration%5Fguides/v5%5Fmigration%5Fguide.md)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## github.com/mattpolzin/openapikit 5.0.0-beta.3 breaking changes

github.com/mattpolzin/openapikit 5.0.0-beta.3, released January 27, 2026: 3 breaking changes.

- **Removed** `codableValue`  

Read legacyValue, dataOrLegacyValue or dataValue instead of codableValue. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-beta.3)
- **Removed** `urlValue`  

Read externalValue on the example instead of urlValue. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-beta.3)
- **Signature changed** `OpenAPI.Example.value`  

The value property is now OpenAPI.Example.Value; use legacyValue, dataValue or externalValue instead. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-beta.3)

## Older versions

53 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### github.com/mattpolzin/openapikit 5.0.0-beta.2 breaking changes

github.com/mattpolzin/openapikit 5.0.0-beta.2, released January 27, 2026: 3 breaking changes.

- **Default changed** `OpenAPI.Document`  

New documents default to OAS 3.2.0; pass v3_1_x in the Document constructor to produce 3.1.x documents. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-beta.2)
- **Signature changed** `ExternalLoader`  

Custom ExternalLoader conformances must also conform to SendableMetatype. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-beta.2)

And 1 more in this version.

### github.com/mattpolzin/openapikit 5.0.0-beta.1 breaking changes

github.com/mattpolzin/openapikit 5.0.0-beta.1, released January 27, 2026: 1 breaking change.

- **Signature changed** `OpenAPI.SecurityScheme.type`  

Code switching on the oauth2 case must match oauth2(flows:metadataUrl:) now. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-beta.1)

### github.com/mattpolzin/openapikit 5.0.0-alpha.7 breaking changes

github.com/mattpolzin/openapikit 5.0.0-alpha.7, released January 27, 2026: 2 breaking changes.

- **Signature changed** `OpenAPI.Content.encoding`  

The encoding property is now an Either; use encodingMap for the old map behavior. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.7)
- **Signature changed** `OpenAPI.Content.schema`  

The schema property is a JSONSchema directly, so code must drop one wrapping layer and switch on schema.value. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.7)

### github.com/mattpolzin/openapikit 5.0.0-alpha.6 breaking changes

github.com/mattpolzin/openapikit 5.0.0-alpha.6, released January 27, 2026: 3 breaking changes.

- **Behavior changed** `lookup`  

Component lookup functions now follow references and can throw ReferenceCycleError; lookupOnce returns a reference unresolved. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.6)
- **Signature changed** `Components.init`  

Components initializer entries must be wrapped in Either, or use Components.direct() instead. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.6)

And 1 more in this version.

### github.com/mattpolzin/openapikit 5.0.0-alpha.5 breaking changes

github.com/mattpolzin/openapikit 5.0.0-alpha.5, released January 27, 2026: 4 breaking changes.

- **Removed** `ParameterContext.header`  

Use the constructors that take a schema or content, such as ParameterContext.header(schema:), instead. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.5)
- **Signature changed** `OpenAPI.Parameter.Context`  

Exhaustive switches on the parameter context must handle querystring and the schemaOrContent values now added to each case. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.5)

And 2 more in this version.

### github.com/mattpolzin/openapikit 5.0.0-alpha.4 breaking changes

github.com/mattpolzin/openapikit 5.0.0-alpha.4, released January 27, 2026: 2 breaking changes.

- **Renamed** `OpenAPI.HttpMethod`  

In the OpenAPIKit30 module, use OpenAPI.BuiltinHttpMethod wherever OpenAPI.HttpMethod was used. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.4)
- **Signature changed** `OpenAPI.HttpMethod`  

HttpMethod has only .builtin and .other cases; the old standard methods move to BuiltinHttpMethod. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.4)

### github.com/mattpolzin/openapikit 5.0.0-alpha.2 breaking changes

github.com/mattpolzin/openapikit 5.0.0-alpha.2, released January 27, 2026: 2 breaking changes.

- **Behavior changed**  

Encoding now always uses the official application/yaml media type instead of application/x-yaml, which is still accepted when decoding. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.2)
- **Signature changed** `OpenAPI.Document.Version`  

Code that switches exhaustively over the Document Version enum must handle the new 3.2.x cases. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.2)

### github.com/mattpolzin/openapikit 5.0.0-alpha.1 breaking changes

github.com/mattpolzin/openapikit 5.0.0-alpha.1, released January 27, 2026: 1 breaking change.

- **Signature changed** `Versions`  

Code that switches over the Versions enum exhaustively must handle the new 3.1.2 case. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/5.0.0-alpha.1)

### github.com/mattpolzin/openapikit 4.0.0 breaking changes

github.com/mattpolzin/openapikit 4.0.0: 1 breaking change.

- **Removed**  

Projects on older Swift versions must upgrade the toolchain. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0)

### github.com/mattpolzin/openapikit 4.0.0-rc.4 breaking changes

github.com/mattpolzin/openapikit 4.0.0-rc.4: 1 breaking change.

- **Renamed** `InconsistencyError`  

Update references to the new GenericError type. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-rc.4)

### github.com/mattpolzin/openapikit 4.0.0-rc.1 breaking changes

github.com/mattpolzin/openapikit 4.0.0-rc.1: 1 breaking change.

- **Behavior changed** `OpenAPI.Document.Version`  

Exhaustive switches over the document version must handle the new x-version cases. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-rc.1)

### github.com/mattpolzin/openapikit 4.0.0-beta.3 breaking changes

github.com/mattpolzin/openapikit 4.0.0-beta.3: 2 breaking changes.

- **Removed** `AnyCodable`  

Wrap array and dictionary literals with an explicit AnyCodable init call. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-beta.3)
- **Signature changed** `AnyCodable.init`  

Values passed to AnyCodable must be known to be Sendable at compile time. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-beta.3)

### github.com/mattpolzin/openapikit 4.0.0-beta.2 breaking changes

github.com/mattpolzin/openapikit 4.0.0-beta.2: 1 breaking change.

- **Removed** `VendorExtensionsConfiguration.isEnabled`  

Disable vendor extensions through encoder or decoder user info instead. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-beta.2)

### github.com/mattpolzin/openapikit 4.0.0-beta.1 breaking changes

github.com/mattpolzin/openapikit 4.0.0-beta.1: 2 breaking changes.

- **Behavior changed**  

Code switching exhaustively on the OpenAPI version value may need updates. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-beta.1)
- **Default changed**  

Documents without an explicit version will now output the newer OAS version. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-beta.1)

### github.com/mattpolzin/openapikit 4.0.0-alpha.6 breaking changes

github.com/mattpolzin/openapikit 4.0.0-alpha.6: 4 breaking changes.

- **Removed** `JSONSchemaContext.anchor`  

Third-party conformances must now implement these members themselves. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-alpha.6)
- **Removed** `JSONSchemaContext.dynamicAnchor`  

Third-party conformances must now implement these members themselves. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-alpha.6)

And 2 more in this version.

### github.com/mattpolzin/openapikit 4.0.0-alpha.5 breaking changes

github.com/mattpolzin/openapikit 4.0.0-alpha.5: 2 breaking changes.

- **Renamed** `externallyDereference`  

The first argument label changed from in to with; update call sites. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-alpha.5)
- **Signature changed** `ExternalLoader.load`  

Custom loaders must return a messages array; return an empty array if unused. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-alpha.5)

### github.com/mattpolzin/openapikit 4.0.0-alpha.4 breaking changes

github.com/mattpolzin/openapikit 4.0.0-alpha.4: 2 breaking changes.

- **Removed**  

Code must target macOS 10.15 or later. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-alpha.4)
- **Configuration changed**  

Projects pinning an older Yams version must upgrade Yams. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-alpha.4)

### github.com/mattpolzin/openapikit 4.0.0-alpha.1 breaking changes

github.com/mattpolzin/openapikit 4.0.0-alpha.1: 3 breaking changes.

- **Removed**  

Code must build with Swift 5.8 or later. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-alpha.1)
- **Renamed** `serverVarialbeDefaultExistsInEnum`  

The misspelled symbol was renamed; update callers to the corrected name. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/4.0.0-alpha.1)

And 1 more in this version.

### github.com/mattpolzin/openapikit 3.0.0 breaking changes

github.com/mattpolzin/openapikit 3.0.0: 1 breaking change.

- **Behavior changed**  

Code that imports OpenAPIKit now gets the OAS 3.1 API. To keep working with OAS 3.0 documents, switch to the OpenAPIKit30 module, or migrate to OpenAPIKit using the migration guide. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0)

### github.com/mattpolzin/openapikit 3.0.0-rc.4 breaking changes

github.com/mattpolzin/openapikit 3.0.0-rc.4: 4 breaking changes.

- **Removed** `JSONSchema.string.byte`  

Use contentEncoding base64 or binary instead of the removed formats. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-rc.4)
- **Removed** `JSONSchema.string.extended`  

Replace .extended(.uuid) and similar with the regular .string formats. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-rc.4)

And 2 more in this version.

### github.com/mattpolzin/openapikit 3.0.0-rc.2 breaking changes

github.com/mattpolzin/openapikit 3.0.0-rc.2: 1 breaking change.

- **Signature changed** `Discriminator.mapping`  

Dictionary-only methods on mapping may fail to compile. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-rc.2)

### github.com/mattpolzin/openapikit 3.0.0-beta.5 breaking changes

github.com/mattpolzin/openapikit 3.0.0-beta.5: 4 breaking changes.

- **Behavior changed** `JSONSchema.enum`  

Schemas with one allowed value are now serialized with const rather than enum. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-beta.5)
- **Signature changed** `DereferencedResponse.links`  

links is now an OrderedDictionary of OpenAPI.Link instead of OpenAPI.Link.Map. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-beta.5)

And 2 more in this version.

### github.com/mattpolzin/openapikit 3.0.0-beta.4 breaking changes

github.com/mattpolzin/openapikit 3.0.0-beta.4: 3 breaking changes.

- **Behavior changed** `Document.validate`  

Validation no longer checks for responses by default; add the validation explicitly to keep it. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-beta.4)
- **Signature changed** `JSONSchema.null`  

Call .null() with parentheses instead of using the property. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-beta.4)

And 1 more in this version.

### github.com/mattpolzin/openapikit 3.0.0-beta.2 breaking changes

github.com/mattpolzin/openapikit 3.0.0-beta.2: 2 breaking changes.

- **Removed** `JSONSchema.referenceContext`  

Use the coreContext accessor instead. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-beta.2)
- **Signature changed** `JSONSchema.reference`  

ReferenceContext is replaced by CoreContext; referenceContext accessor removed in favor of coreContext. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-beta.2)

### github.com/mattpolzin/openapikit 3.0.0-beta.1 breaking changes

github.com/mattpolzin/openapikit 3.0.0-beta.1: 1 breaking change.

- **Signature changed** `OpenAPI.Example.value`  

Code switching on or accessing Example value must handle nil. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-beta.1)

### github.com/mattpolzin/openapikit 3.0.0-alpha.9 breaking changes

github.com/mattpolzin/openapikit 3.0.0-alpha.9: 1 breaking change.

- **Signature changed** `OpenAPI.Document.paths`  

Path items must be written as .pathItem(...) and read via pathItemValue or reference. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-alpha.9)

### github.com/mattpolzin/openapikit 3.0.0-alpha.4 breaking changes

github.com/mattpolzin/openapikit 3.0.0-alpha.4: 4 breaking changes.

- **Renamed** `JSONSchemas.example`  

Code in the OpenAPIKit module referencing example must switch to the examples array. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-alpha.4)
- **Signature changed** `ContentType`  

Switch statements over ContentType no longer work; compare rawValue for custom types. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-alpha.4)

And 2 more in this version.

### github.com/mattpolzin/openapikit 3.0.0-alpha.2 breaking changes

github.com/mattpolzin/openapikit 3.0.0-alpha.2: 1 breaking change.

- **Removed** `JSONReference.internal(.path(.))`  

Code creating references with JSONReference.internal(.path(...)) must use OpenAPI.Reference.internal(path: ...) instead. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-alpha.2)

### github.com/mattpolzin/openapikit 3.0.0-alpha.1 breaking changes

github.com/mattpolzin/openapikit 3.0.0-alpha.1: 2 breaking changes.

- **Renamed** `OpenAPIKit30`  

Code importing OpenAPIKit for OpenAPI v3.0 must switch to the OpenAPIKit30 module; the OpenAPIKit module now targets v3.1. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-alpha.1)
- **Signature changed** `JSONSchema.reference`  

Switches matching .reference(let ref) must now also bind the new context, e.g. .reference(let ref, let context). [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.0.0-alpha.1)

### github.com/mattpolzin/openapikit 2.0.0 breaking changes

github.com/mattpolzin/openapikit 2.0.0: 4 breaking changes.

- **Removed** `OpenAPI.Components.dereference`  

Components dereferencing and lookup methods were renamed; use subscript, lookup(\_:) and dereferenced(in:). [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/2.0.0)
- **Removed** `OpenAPI.Server.url`  

OpenAPI.Server loses its url property; use urlTemplate and derive a URL from it when it has no variables. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/2.0.0)

And 2 more in this version.

### github.com/mattpolzin/openapikit 2.0.0-alpha.4 breaking changes

github.com/mattpolzin/openapikit 2.0.0-alpha.4: 1 breaking change.

- **Behavior changed** `JSONSchema.simplified`  

Behavior previously attached to dereferencing a JSONSchema moved to simplified(given:) and DereferencedJSONSchema simplified(), called on demand. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/2.0.0-alpha.4)

### github.com/mattpolzin/openapikit 2.0.0-alpha.3 breaking changes

github.com/mattpolzin/openapikit 2.0.0-alpha.3: 2 breaking changes.

- **Signature changed** `JSONSchema.any`  

The discriminator associated value of any(of:), all(of:) and one(of:) was replaced by core: CoreContext; read the discriminator from coreContext.discriminator. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/2.0.0-alpha.3)
- **Signature changed** `JSONSchema.not`  

Matches on .not(let schema) must now be written .not(let schema, core: let coreContext). [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/2.0.0-alpha.3)

### github.com/mattpolzin/openapikit 2.0.0-alpha.1 breaking changes

github.com/mattpolzin/openapikit 2.0.0-alpha.1: 11 breaking changes.

- **Removed** `DereferencedJSONSchema.all`  

DereferencedJSONSchema no longer has an all(of:) case; schemas are resolved during dereferencing instead. This was reintroduced in alpha 4. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/2.0.0-alpha.1)
- **Removed** `DereferencedPathItem`  

The Dereferenced types no longer have public initializers; construct them with the dereferenced(in:) method of the originating OpenAPI type. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/2.0.0-alpha.1)

And 9 more in this version.

### github.com/mattpolzin/openapikit 1.0.0 breaking changes

github.com/mattpolzin/openapikit 1.0.0: 8 breaking changes.

- **Renamed** `OpenAPI.HttpVerb`  

The HTTP verb type is renamed to HttpMethod. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/1.0.0)
- **Renamed** `OpenAPI.Parameter.Schema`  

The parameter schema wrapper struct is renamed; update references to SchemaContext. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/1.0.0)

And 6 more in this version.

### github.com/mattpolzin/openapikit 0.30.0 breaking changes

github.com/mattpolzin/openapikit 0.30.0: 2 breaking changes.

- **Renamed** `Parameter.Location`  

The Parameter.Location type is renamed to Parameter.Context. Update code that refers to the old name. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.30.0)
- **Renamed** `Parameter.parameterLocation`  

The Parameter.parameterLocation property is renamed to Parameter.context. Update code that uses the old name. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.30.0)

### github.com/mattpolzin/openapikit 0.29.0 breaking changes

github.com/mattpolzin/openapikit 0.29.0: 7 breaking changes.

- **Renamed** `all`  

The wildcard ContentTypes case all is renamed to any. Update code that refers to all to use any. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.29.0)
- **Renamed** `applicationAll`  

The wildcard content type case applicationAll is renamed to anyApplication. Update code that refers to it. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.29.0)

And 5 more in this version.

### github.com/mattpolzin/openapikit 0.28.0 breaking changes

github.com/mattpolzin/openapikit 0.28.0: 1 breaking change.

- **Signature changed** `JSONSchema`  

Example properties on JSONSchema changed type from String to AnyCodable, so code passing or reading String examples must wrap values in AnyCodable. Any Encodable value can still be turned into a String and wrapped in AnyCodable to get the... [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.28.0)

### github.com/mattpolzin/openapikit 0.27.0 breaking changes

github.com/mattpolzin/openapikit 0.27.0: 1 breaking change.

- **Signature changed** `openAPISchema`  

The throwing openAPISchema() function is now the openAPISchema property, so code must read it without parentheses. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.27.0)

### github.com/mattpolzin/openapikit 0.26.0 breaking changes

github.com/mattpolzin/openapikit 0.26.0: 1 breaking change.

- **Renamed** `Poly2`  

Support is now offered by the in-library Either type instead of Poly2, so code that names Poly2 must switch to Either. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.26.0)

### github.com/mattpolzin/openapikit 0.25.0 breaking changes

github.com/mattpolzin/openapikit 0.25.0: 1 breaking change.

- **Signature changed**  

Keys in Components Object dictionaries are now OpenAPI.ComponentKey instead of String, so code that builds or reads these keys as plain strings must use ComponentKey. ComponentKey is ExpressibleByStringLiteral, so string literals still... [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.25.0)

### github.com/mattpolzin/openapikit 0.24.0 breaking changes

github.com/mattpolzin/openapikit 0.24.0: 11 breaking changes.

- **Removed** `AnyCodable`  

Other libraries that use the AnyCodable API directly must now import it explicitly. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.24.0)
- **Renamed** `OpenAPI.ExternalDoc`  

Update references from OpenAPI.ExternalDoc to OpenAPI.ExternalDocumentation. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.24.0)

And 9 more in this version.

### github.com/mattpolzin/openapikit 0.23.0 breaking changes

github.com/mattpolzin/openapikit 0.23.0: 1 breaking change.

- **Removed**  

Reflection code and code that turns Swift types into OpenAPISchema using a JSONEncoder moved out of this package. Use the new mattpolzin/OpenAPIReflection library instead. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.23.0)

### github.com/mattpolzin/openapikit 0.21.0 breaking changes

github.com/mattpolzin/openapikit 0.21.0: 1 breaking change.

- **Behavior changed**  

Errors thrown while decoding are largely new types, so code that catches or inspects specific decoding errors may need updating. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.21.0)

### github.com/mattpolzin/openapikit 0.17.0 breaking changes

github.com/mattpolzin/openapikit 0.17.0: 1 breaking change.

- **Behavior changed** `PathItem.Map`  

PathItem.Map can no longer hold JSON references as values, which breaks declarative initialization and code that reads those values. Stop using references for path item values. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.17.0)

### github.com/mattpolzin/openapikit 0.13.0 breaking changes

github.com/mattpolzin/openapikit 0.13.0: 1 breaking change.

- **Signature changed**  

Many Dictionary-typed values are now OrderedDictionary, so code that expects Dictionary types must be updated to use OrderedDictionary. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.13.0)

### github.com/mattpolzin/openapikit 0.12.0 breaking changes

github.com/mattpolzin/openapikit 0.12.0: 1 breaking change.

- **Signature changed** `Either`  

In a few places, the Either types now put JSONReference first among their generic specialization parameters when it is present. Code that spells out these generic parameters must be updated to the new order. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.12.0)

### github.com/mattpolzin/openapikit 0.11.0 breaking changes

github.com/mattpolzin/openapikit 0.11.0: 2 breaking changes.

- **Removed**  

Functions responsible for generating JSONSchemas were removed. Code calling them must be changed to the new API. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.11.0)
- **Renamed**  

Protocols responsible for generating JSONSchemas were renamed or removed, and functions were renamed. Update code that uses these names to the 0.11.0 API. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.11.0)

### github.com/mattpolzin/openapikit 0.9.0 breaking changes

github.com/mattpolzin/openapikit 0.9.0: 2 breaking changes.

- **Renamed**  

The release notes say a few functions were renamed but do not name them. Check your call sites against the new API before upgrading. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.9.0)
- **Behavior changed**  

Node generation was substantially reworked, which may break downstream code that depends on the generated OpenAPI nodes. The notes do not specify the changes. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.9.0)

### github.com/mattpolzin/openapikit 0.8.0 breaking changes

github.com/mattpolzin/openapikit 0.8.0: 1 breaking change.

- **Behavior changed**  

Some properties that were previously encoded as null are now left out of the encoded value entirely. Code that expects a null entry in the encoded output must be updated. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.8.0)

### github.com/mattpolzin/openapikit 0.7.0 breaking changes

github.com/mattpolzin/openapikit 0.7.0: 1 breaking change.

- **Signature changed** `Parameter`  

The release restructured Parameter so its JSONSchema is nested under Parameter.Schema. Code that accesses Parameter's schema directly must be updated to go through Parameter.Schema. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.7.0)

### github.com/mattpolzin/openapikit 0.6.0 breaking changes

github.com/mattpolzin/openapikit 0.6.0: 1 breaking change.

- **Signature changed**  

Several function and initializer arguments or argument names were changed for declarative document definitions. The release notes do not list the affected symbols, so check call sites that build OpenAPI documents. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.6.0)

### github.com/mattpolzin/openapikit 0.5.0 breaking changes

github.com/mattpolzin/openapikit 0.5.0: 1 breaking change.

- **Configuration changed**  

The release now requires Swift 5.1; projects on older Swift toolchains must upgrade their compiler to build against it. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.5.0)

### github.com/mattpolzin/openapikit 0.4.0 breaking changes

github.com/mattpolzin/openapikit 0.4.0: 3 breaking changes.

- **Behavior changed** `JSONReference`  

The release notes list JSONReference as a breaking change but do not say what changed. Check the 0.4.0 release for details before upgrading. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.4.0)
- **Behavior changed** `JSONSchema`  

The release notes list JSONSchema as a breaking change but do not say what changed. Check the 0.4.0 release for details before upgrading. [github.com](https://github.com/mattpolzin/OpenAPIKit/releases/tag/0.4.0)

And 1 more in this version.

## Related packages

- [github.com/mattpolzin/jsonapi](https://since.dev/packages/swift/github.com/mattpolzin/jsonapi.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
