i have spring boot mvc java web app. i've been able integrate springfox api documentation. can visually see of apis when server , running.
how can generate offline swagger api documentation? note: not use asciidoc or markdown documentation, i'd same swagger api user interface in html files. i'd links relative local directory instead of local host server links. thanks
springfox allows create swagger tester/api docs based on spring annotations.
swagger has tools allow generate offline/static documentation:
- the swagger editor has several ways of generating documentation listed in generate client menu
- the swagger codegen module allows generate static , dynamic html document
both of them require swagger yaml or json file. in case don't have swagger definition in yaml/json because you're using springfox, can use generated file used swagger ui (/v2/api-docs?group=<group name>
).
Comments
Post a Comment