Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 494 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 494 Bytes

ServeSwagger

Render a swagger file in local with http server.

Install

go install github.com/hilaily/serveswagger@latest

Usage

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