Pasos swagger:
We need to have installed the following tools: swagger2markup and asciidoctor
- brew install asciidoctor
- brew install swagger2markup-cli
- get swagger.json with springboot up&running:
http://127.0.0.1:8080/v2/api-docs - copy swagger.json
- mkdir adocs
- swagger2markup convert -i swagger.json -d adocs
- modify overview.adoc (title =)
- asciidoctor index.adoc
- asciidoctor-pdf index.adoc
$ cat index.adoc
:doctype: book
:toc: left
:toclevels: 3
:numbered:
:hardbreaks:
:sectlinks:
:sectanchors:
include::./overview.adoc[]
include::./paths.adoc[]
include::./security.adoc[]
include::./definitions.adoc[]