- swagger-node: https://github.com/swagger-api/swagger-node
To start the server,
swagger project start
To edit the api documentation
swagger project edit
Run the both, to edit and to try the api operation.
/exists:
x-swagger-router-controller: exists
get:
operationId: get
use string instead of boolean, as response validation fails
responses:
'200':
description: a string that represents a boolean value
schema:
type: string
remove host in swagger.yaml
# during dev, should point to your local machine
# host: /