Add `type: string` to enum schemas for Swift OpenAPI Generator compatibility
Looking for some help getting
Currently, if I have the following Effect schema
this generates the following JSON schema:
But
JSONSchema.make to add type: string under enum schemas, which swift-openapi-generator requires to generate a Swift client from the OpenAPI document. Currently, if I have the following Effect schema
this generates the following JSON schema:
But
swift-openapi-generator won't turn that schema into a Swift enum unless the schema is: