SMILEY4 / ktor-swagger-ui

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

Fix security examples not generated with correct type #114

Closed rChaoz closed 4 months ago

rChaoz commented 4 months ago

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