SMILEY4 / ktor-swagger-ui

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

Provide a hook function that allows developers to modify the final generated openapi.json #91

Closed mcxinyu closed 5 months ago

mcxinyu commented 5 months ago

Provide a hook function that allows developers to modify the final generated openapi.json

This can be a solution for developers who want to add API's that can't be generated because they are not defined in the project. #89

mcxinyu commented 5 months ago

This may not be the best way to implement this, but it solves my problem for now. Of course, it may destroy the original purpose of this project.

SMILEY4 commented 5 months ago

Hi, Thanks a lot for your PRs. I dont mind the hook and like the added flexibility.

Could you revert the changes to the gradle-config and remove jitpack?

mcxinyu commented 5 months ago

Okay, I have revert the committed.