SMILEY4 / ktor-swagger-ui

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

The use is complex and not intuitive enough,Suggestions #54

Closed s949492225 closed 1 year ago

s949492225 commented 1 year ago

Can annotations be used to express interfaces and interface parameters? The current form feels too intrusive, and it is highly complex to use, and the second phase looks unclear. It is suggested to refer to the form of Java,js,python, and these swagger are written in the form of similar annotations.

SMILEY4 commented 1 year ago

hi,
thanks for your feedback. However, avoiding annotations is an intentional design choice for this plugin aswell as for ktor and will most likely not be changed. If you have any more questions, feel free to ask :)