Skip to content
This is a tool to help building Swagger documentations. It converts JSON request/response mocks to Swagger definitions.
JavaScript HTML
Branch: master
Clone or download
Latest commit 61cec9d Jan 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jan 24, 2017
README.md Update README.md Jan 6, 2019
index.html Merge branch 'master' of https://github.com/Roger13/SwaggerGenerator Jun 29, 2017
swaggerGen.js Added option to use number type instead of integer, fixed interface typo May 10, 2017

README.md

SwagDefGen

This is a tool to help building Swagger documentations. It converts JSON request/response mocks to Swagger definitions.

  • Supports all swagger types
  • Detects int32 and int64 formats
    • Added unsafe format to integers that use more than 64 bits
  • Detects date and date-time formats according to ISO 8601
  • Allows nested objects and arrays
  • Supports nullable fields
  • Allows mock values to be added as example in description

TO-DO List

  • Reflection for detecting reusable definitions
You can’t perform that action at this time.