Swagger Petstore
v1.0.0

information icon
Information

image info

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.

Introduction

This API is documented in OpenAPI format and is based on Petstore sample provided by swagger.io team. It was extended to illustrate features of OpenAPI Documentation Generator tool.
In addition to OpenAPI Documentation Generator Tool, you can easily test your API using OpenAPI Tester tool.

OpenAPI Specification

A document (or set of documents) that defines or describes an API. An OpenAPI definition uses and conforms to the OpenAPI Specification.

Cross-Origin Resource Sharing

This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with W3C spec. And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.

Authentication

Petstore offers two forms of authentication:
- API Key
- OAuth2 OAuth2
- an open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications.



servers icon
Servers

Server Variables
Computed URL

paths icon
Paths


pet
store
user

componenets icon
Components


Order

Category

User

Tag

Pet

ApiResponse

RequestBody
UserArray
Pet
SecuritySchemes
petstore_auth
api_key