mattpolzin / OpenAPIKit

Codable Swift OpenAPI implementation.
MIT License
276 stars 35 forks source link

String Format Updates #337

Closed mattpolzin closed 8 months ago

mattpolzin commented 8 months ago

Closes https://github.com/mattpolzin/OpenAPIKit/issues/332 Closes https://github.com/mattpolzin/OpenAPIKit/issues/336

OAS 3.1 drops a few string formats that used to be added on top of JSON Schema; at the same time, the newer version of JSON Schema defines many more formats than I used to include in the builtin list of string formats. A couple of the OAS 3.0 formats were replaced with JSON Schema contentEncodings in OAS 3.1

Breaking

There are no breaking changes to the OpenAPIKit30 module. The following all apply to the OpenAPIKit module.