gaia-pipeline / gaia

Build powerful pipelines in any programming language.
Apache License 2.0
5.2k stars 245 forks source link

Add a static version of the swagger docs #289

Open Skarlso opened 4 years ago

Skarlso commented 4 years ago

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.