Skip to content

LmntrX/mocha-swagger

Repository files navigation

Mocha-Swagger

Generate swagger spec from your mocha tests.

Mocha-Swagger works on macOS, Windows, and Linux.
If something doesn’t work, please file an issue.

Quick Overview

npm install -g mocha-swagger
mocha-swagger path/to/project/tests

Change Log

  • 1.0.4
    • Fixed parameter not parsed in some cases issue
    • Fixed Insomnia import failing issues
  • 1.0.3
    • Fixed incorrect project information generated issue
  • 1.0.2
    • Support for typescript files
    • Parses path parameters
    • Fixed minor bugs
  • 1.0.1
    • Minor bug fixes
  • 1.0.0
    • Initial Release

License

Mocha-Swagger is open source software licensed as MIT.