Adding a resource
Procedure
- Navigate to the Swagger Editor.
- Click on Insert drop down menu. Select Add Path Items to add the path.
- Add operation by selecting Add Operation.
- Add response by selecting Add Example Response.
Results
- Parameters (described here: http://swagger.io/specification/#parameterObject)
- Produces (a list of data types which can be returned from the operation)
- Consumes (if relevant, a list of data types which are consumed by the operation)
- Responses (described here: http://swagger.io/specification/#responseObject)