mattpolzin / OpenAPIKit

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

propagate nullable to `anyOf` parent schema #321

Closed mattpolzin closed 11 months ago

mattpolzin commented 11 months ago

When an anyOf schema has a nullable subschema, propagate nullable up because whatever possibilities that anyOf represents, null is definitely one of them.