Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a static version of the swagger docs #289

Open
Skarlso opened this issue Aug 12, 2020 · 0 comments
Open

Add a static version of the swagger docs #289

Skarlso opened this issue Aug 12, 2020 · 0 comments
Labels
Documentation A label for issues which handle the documentation of Gaia

Comments

@Skarlso
Copy link
Member

Skarlso commented Aug 12, 2020

To generate a dynamic HTML output of the swagger definition run:

swagger-codegen generate -i swagger.json -l dynamic-html -o out

Then that needs to be converted into something that hugo likes.

Also, note that Goswagger generates Swagger 2.0 specs not 3.0 which is the current at the time of writing this issue.
Install swagger-codegen@2 with brew.

@Skarlso Skarlso added the Documentation A label for issues which handle the documentation of Gaia label Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation A label for issues which handle the documentation of Gaia
Projects
None yet
Development

No branches or pull requests

1 participant