/SwagDefGen

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

Primary LanguageJavaScriptMIT LicenseMIT

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