ninja icon indicating copy to clipboard operation
ninja copied to clipboard

How to add swagger for ninja app?

Open omurbekjk opened this issue 5 years ago • 3 comments

omurbekjk avatar May 12 '19 05:05 omurbekjk

Which direction are you looking for? Generating an OpenAPI spec from Routes.java or generating Routes.java from the spec?

zmeggyesi avatar Dec 13 '19 07:12 zmeggyesi

Generating an OpenAPI spec from Routes.java

omurbekjk avatar Dec 13 '19 10:12 omurbekjk

Hi, I know this has been a while and just in case anyone else comes across this issue.

I had to do this a while back and it inspired me to create a library. You can find it at https://github.com/gibahjoe/ninjadoc-openapi

Sorry for the shameless plug

gibahjoe avatar Sep 19 '20 13:09 gibahjoe