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 POST \ https://redocly.com/_mock/openapi/petstore/user \ -H 'Content-Type: application/json' \ -d '{ "id": 0, "username": "string", "firstName": "string", "lastName": "string", "email": "string", "password": "string", "phone": "string", "userStatus": 0 }'
curl -i -X POST \ https://redocly.com/_mock/openapi/petstore/user/createWithArray \ -H 'Content-Type: application/json' \ -d '{}'
curl -i -X POST \ https://redocly.com/_mock/openapi/petstore/user/createWithList \ -H 'Content-Type: application/json' \ -d '{}'
curl -i -X GET \ 'https://redocly.com/_mock/openapi/petstore/user/login?password=string&username=string'
No response example
curl -i -X GET \ https://redocly.com/_mock/openapi/petstore/user/logout
curl -i -X GET \ 'https://redocly.com/_mock/openapi/petstore/user/{username}'
No response example
curl -i -X PUT \ 'https://redocly.com/_mock/openapi/petstore/user/{username}' \ -H 'Content-Type: application/json' \ -d '{ "id": 0, "username": "string", "firstName": "string", "lastName": "string", "email": "string", "password": "string", "phone": "string", "userStatus": 0 }'
curl -i -X DELETE \ 'https://redocly.com/_mock/openapi/petstore/user/{username}'