SMILEY4 / ktor-swagger-ui

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

Fix security examples not generated with correct type #114

Closed rChaoz closed 1 month ago

rChaoz commented 1 month ago

The body type from defaultUnauthorizedResponse was not used by the examples encoder, this fixes that so that examples can be correctly generated.