mattpolzin / OpenAPIKit

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

Path Item entries need to be allowed to be references #280

Closed mattpolzin closed 1 year ago

mattpolzin commented 1 year ago

The current structure inaccurately represents paths as a dictionary with Path keys and PathItem values -- the value should be an Either<Reference<PathItem>,PathItem>.

This bug will need to get fixed against the release/3_0 branch for the upcoming major version because changing the structure of OpenAPIKit documents in this way is breaking for projects currently using OpenAPIKit 2.x.