papsign / Ktor-OpenAPI-Generator

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

Status code in "throws" block variant #22

Closed SerVB closed 4 years ago

SerVB commented 4 years ago

Hi! I have the following code:

image

As you see, status code is duplicated. So I don't understand which has a higher priority...

Can I omit this duplication?

Wicpar commented 4 years ago

@Response is only used with the response get<Param, Response> {} of the request, not the exception.