SDC SWAGGER
Swagger documentation
SDC Catalog External API
to access Swagger for SDC external API's
SDC Onboarding Internal API's
to access Swagger:
SDC Catalog Internal API's
to access Swagger:
Swagger utilities
Swagger conversion to HTML
to convert swagger to HTML you need to convert it first to markup
to do this download https://github.com/Swagger2Markup/swagger2markup
and then run:
java -jar swagger2markup-cli-<version>.jar convert -i <swagger.json> --outputFile <swagger.adoc>now download asciidoctor https://asciidoctor.org/
based on the out put you will need to run:
asciidoctor <markup file location *.adoc> -b html5 -a toc=left,toclevels=4,doctype=book,numbered,sectanchors,hardbreakSwagger conversion to PDF
now download asciidoctor https://asciidoctor.org/docs/asciidoctor-pdf/
asciidoctor-pdf <markup file location *.adoc> -b pdf -a toc=left,toclevels=4,doctype=book,numbered,sectanchors,hardbreak