SMILEY4 / ktor-swagger-ui

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

Request headers does not add in curl request #163

Open MrMak21 opened 6 days ago

MrMak21 commented 6 days ago

Hello, i am trying to add an Authorization header on my request and even if it shown on the ui then it doesn't include it in the curl request:

request { headerParameter<String>("Authorization") { description = "Bearer auth token" required = true deprecated = false explode = false } body<Unit>() }