SMILEY4 / ktor-swagger-ui

Kotlin Ktor plugin to generate OpenAPI and provide Swagger UI
Apache License 2.0
156 stars 25 forks source link

missing type: string for enum types #125

Open tobyworks opened 1 month ago

tobyworks commented 1 month ago

the openapi spec is missing type: string for enum types. this causes generators like orval to generate faulty code.

image
SMILEY4 commented 1 month ago

Hi, i'm not 100% sure i am understanding the issue correctly. Could you perhaps provide a model and openapi spec showcasing the problematic/desired behavior ?