gaia icon indicating copy to clipboard operation
gaia copied to clipboard

Add a static version of the swagger docs

Open Skarlso opened this issue 4 years ago • 0 comments

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 avatar Aug 12 '20 20:08 Skarlso