Render a swagger file in local with http server.
go install github.com/hilaily/serveswagger@latest
serveswagger
It will find swagger.json or swagger.yaml in current directory automatically and serve it at localhost:8123
find order
./swagger.json
, ./swagger.yaml
, ./docs/swagger.json
, ./docs/swagger.json
serveswagger -p 8080 -f myswagger.json
It will render myswagger.json at localhost:8080