mattpolzin / OpenAPIKit

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

Move currently shared `StringFormat` type into OpenAPIKit and OpenAPIKit30 modules and diverge it #332

Closed mattpolzin closed 8 months ago

mattpolzin commented 8 months ago

In OpenAPIKit version 3.1, the formats supported (out of box) are different because they include more from JSON Schema (newer standards version) and also define fewer OpenAPI-specific additions.

OAS 3.0.3: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#data-types OAS 3.1.0: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#data-types JSON Schema String specific formats (version used by 3.1.0): https://json-schema.org/understanding-json-schema/reference/string#built-in-formats