Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 312 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 312 Bytes

Example

Its only needed if you don't use the mxd-environment.

require('mxd-swagger')(app, express);

The Swagger definition file should be located under config/swagger.json or config/swagger.yml.

Routes

  • /api-docs: The swagger API documentation as JSON or YML
  • /docs: The swagger UI