What can do

  • Use Swagger Editor to define a API, use Swagger Codegen to generate source code for server.
  • Use Swagger Editor to define a API, then generate REST API document.

Swagger Editor

  • Define API with YAML format
  • Preview API document in real time

Samples

  • default - default.yml (A Uber API with description comments in YAML file)

Online demo

  • https://xxd3vin.github.io/swagger-ui/?url=https://raw.githubusercontent.com/yyssc/ssc30-admin/master/src/swagger/swagger.yaml (Github project for this demo: https://github.com/xx7y7xx/swagger-ui)