papsign / Ktor-OpenAPI-Generator

Ktor OpenAPI/Swagger 3 Generator
Apache License 2.0
243 stars 42 forks source link

Description for throws block #24

Closed SerVB closed 4 years ago

SerVB commented 4 years ago

Hi! Is it currently possible to add description text? By default, a status is the description.

image

Wicpar commented 4 years ago

Until i can find something more elegant you can use HttpStatusCode(400, "The description you want")

SerVB commented 4 years ago

Great, thank you, it works!