Output Schema
{
"example": {
"api_version": "1.0.27",
"auth_schemes": [
{
"name": "petstore_auth",
"type": "oauth2"
},
{
"in": "header",
"name": "api_key",
"param": "api_key",
"type": "apiKey"
}
],
"base_url": "https://petstore3.swagger.io/api/v3",
"operations": [
{
"auth": [
"petstore_auth"
],
"deprecated": false,
"input_schema": {
"properties": {
"body": {
"description": "Request body (application/json)",
"properties": {
"category": {
"type": "object"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"photoUrls": {
"type": "array"
},
"status": {
"description": "pet status in the store",
"enum": [
"available",
"pending",
"sold"
],
"type": "string"
}
},
"required": [
"name",
"photoUrls"
],
"type": "object"
}
},
"required": [
"body"
],
"type": "object"
},
"method": "POST",
"name": "addPet",
"parameters": [],
"path": "/pet",
"request_body": {
"content_type": "application/json",
"fields": [
"id",
"name",
"category",
"photoUrls",
"status"
],
"required": true,
"required_fields": [
"name",
"photoUrls"
]
},
"summary": "Add a new pet to the store.",
"tags": [
"pet"
]
},
{
"auth": [
"petstore_auth"
],
"deprecated": false,
"input_schema": {
"properties": {
"body": {
"description": "Request body (application/json)",
"properties": {
"category": {
"type": "object"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"photoUrls": {
"type": "array"
},
"status": {
"description": "pet status in the store",
"enum": [
"available",
"pending",
"sold"
],
"type": "string"
}
},
"required": [
"name",
"photoUrls"
],
"type": "object"
}
},
"required": [
"body"
],
"type": "object"
},
"method": "PUT",
"name": "updatePet",
"parameters": [],
"path": "/pet",
"request_body": {
"content_type": "application/json",
"fields": [
"id",
"name",
"category",
"photoUrls",
"status"
],
"required": true,
"required_fields": [
"name",
"photoUrls"
]
},
"summary": "Update an existing pet.",
"tags": [
"pet"
]
},
{
"auth": [
"petstore_auth"
],
"deprecated": false,
"input_schema": {
"properties": {
"status": {
"description": "Status values that need to be considered for filter",
"enum": [
"available",
"pending",
"sold"
],
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"method": "GET",
"name": "findPetsByStatus",
"parameters": [
{
"in": "query",
"name": "status",
"required": true,
"type": "string"
}
],
"path": "/pet/findByStatus",
"request_body": null,
"summary": "Finds Pets by status.",
"tags": [
"pet"
]
}
],
"operations_returned": 3,
"operations_total": 6,
"source": "https://petstore3.swagger.io/api/v3/openapi.json",
"spec_version": "OpenAPI 3.0.4",
"title": "Swagger Petstore - OpenAPI 3.0",
"truncated": true
},
"type": "json"
}