0.0.4 • Published 2 years ago
swagger-ui-serve v0.0.4
swagger-ui-serve
Launches Swagger UI with the passed Open API Specification pre-loaded.
npx swagger-ui-serve ./example-specification.json
Argument | Description |
---|---|
--specification (-s ) | Path to the Open API specification JSON |
--port (-p ) | Port to run Swagger on. Default is 3000 |