This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key
to test the authorization filters.
This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key
to test the authorization filters.
curl -i -X GET \ https://redocly.com/_mock/openapi/petstore/store/inventory \ -H 'api_key: YOUR_API_KEY_HERE'
{ "property1": 0, "property2": 0 }
curl -i -X POST \ https://redocly.com/_mock/openapi/petstore/store/order \ -H 'Content-Type: application/json' \ -d '{ "id": 0, "petId": 0, "quantity": 0, "shipDate": "2019-08-24T14:15:22Z", "status": "placed", "complete": false }'
<id>0</id> <petId>0</petId> <quantity>0</quantity> <shipDate>2019-08-24T14:15:22Z</shipDate> <status>placed</status> <complete>false</complete>
curl -i -X GET \ 'https://redocly.com/_mock/openapi/petstore/store/order/{orderId}'
<id>0</id> <petId>0</petId> <quantity>0</quantity> <shipDate>2019-08-24T14:15:22Z</shipDate> <status>placed</status> <complete>false</complete>
curl -i -X DELETE \ 'https://redocly.com/_mock/openapi/petstore/store/order/{orderId}'