SMILEY4 / ktor-swagger-ui

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

Update README.md #38

Closed ndy2 closed 1 year ago

ndy2 commented 1 year ago

Thank you for providing such a nice plugin.

I think it would be better with (or only of) kotlin dsl installation guid.

SMILEY4 commented 1 year ago

Hi, Thanks and thank you for the PR. Since this library is usually only used in kotlin projects, i don't think it's necessary to include both gradle languages, so the kotlin dsl should be sufficient. Also not sure if the filename is required - maybe as a //comment in the codeblocks ? I would like to hear your feedback and thoughts on this.

ndy2 commented 1 year ago

Yep. I also think that kotlin dsl would be enough. And if there is one kind of installation guide, i also agree that filename is not required. I made a new commit that simply change the script from gradle to kotlin dsl.