Category
-- id : Long
-
- name : String
-
Order
-- id : Long
-
- petId : Long
-
- quantity : Integer
-
- shipDate : Date
-
- status : String
Order Status -- Enum: -
- placed -
- approved -
- delivered -
- complete : Boolean
-
Pet
-- id : Long
-
- category : Category
-
- name : String
-
- photoUrls : List
-
- tags : List
-
- status : String
pet status in the store -- Enum: -
- available -
- pending -
- sold -
Tag
-- id : Long
-
- name : String
-
User
-- id : Long
-
- username : String
-
- firstName : String
-
- lastName : String
-
- email : String
-
- password : String
-
- phone : String
-
- userStatus : Integer
User Status -
This is the API
- - -updatePet
-- - -
URL
-http://petstore.swagger.io/v2/pet
- HTTP Method
-PUT
- Response Type
- -Parameters
--
-
-
-
-
-
-
-
- Body:
- body
- Pet
-
-
Pet object that needs to be added to the store
-
-
-
addPet
@@ -43,7 +14,6 @@
Parameters
-
-
-
@@ -51,145 +21,11 @@
Body:
body
- Pet
+ Pet(Pet)
Pet object that needs to be added to the store
-
findPetsByStatus
-- -
Multiple status values can be provided with comma seperated strings
-URL
-http://petstore.swagger.io/v2/pet/findByStatus
- HTTP Method
-GET
- Response Type
- -Parameters
--
-
-
-
-
- Query:
-
-
-
- status
- List(String)
-
-
Status values that need to be considered for filter
-
-
-
findPetsByTags
-- -
Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
-URL
-http://petstore.swagger.io/v2/pet/findByTags
- HTTP Method
-GET
- Response Type
- -Parameters
--
-
-
-
-
- Query:
-
-
-
- tags
- List(String)
-
-
Tags to filter by
-
-
-
getPetById
-- -
Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
-URL
-http://petstore.swagger.io/v2/pet/{petId}
- HTTP Method
-GET
- Response Type
- -Parameters
--
-
-
-
-
-
- Path:
-
-
- petId
- Long
-
-
ID of pet that needs to be fetched
-
-
-
updatePetWithForm
-- - -
URL
-http://petstore.swagger.io/v2/pet/{petId}
- HTTP Method
-POST
- Response Type
- -Parameters
--
-
-
-
-
-
- Path:
-
-
- petId
- String
-
-
ID of pet that needs to be updated
-
-
- -
- Form:
-
-
-
-
- name
- String
-
-
Updated name of the pet
-
-
- -
- Form:
-
-
-
-
- status
- String
-
-
Updated status of the pet
-
-
-
deletePet
@@ -202,7 +38,6 @@
Parameters
-
-
-
@@ -214,7 +49,6 @@
Pet id to delete
-
- @@ -226,9 +60,149 @@ -
findPetsByStatus
++ +
Multiple status values can be provided with comma separated strings
+URL
+http://petstore.swagger.io/v2/pet/findByStatus
+ HTTP Method
+GET
+ Response Type
+ +Parameters
+-
+
-
+
+ Query:
+
+
+
+ status
+ List(String)
+
+
Status values that need to be considered for filter
+
+
findPetsByTags
++ +
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
+URL
+http://petstore.swagger.io/v2/pet/findByTags
+ HTTP Method
+GET
+ Response Type
+ +Parameters
+-
+
-
+
+ Query:
+
+
+
+ tags
+ List(String)
+
+
Tags to filter by
+
+
getPetById
++ +
Returns a single pet
+URL
+http://petstore.swagger.io/v2/pet/{petId}
+ HTTP Method
+GET
+ Response Type
+ +Parameters
+-
+
-
+
+
+ Path:
+
+
+ petId
+ Long
+
+
ID of pet to return
+
+
updatePet
++ + +
URL
+http://petstore.swagger.io/v2/pet
+ HTTP Method
+PUT
+ Response Type
+ +Parameters
+-
+
-
+
+
+
+
+ Body:
+ body
+ Pet(Pet)
+
+
Pet object that needs to be added to the store
+
+
updatePetWithForm
++ + +
URL
+http://petstore.swagger.io/v2/pet/{petId}
+ HTTP Method
+POST
+ Response Type
+ +Parameters
+-
+
-
+
+
+ Path:
+
+
+ petId
+ Long
+
+
ID of pet that needs to be updated
+
+ -
+ Form:
+
+
+
+
+ name
+ String
+
+
Updated name of the pet
+
+ -
+ Form:
+
+
+
+
+ status
+ String
+
+
Updated status of the pet
+
+
uploadFile
@@ -238,10 +212,9 @@
HTTP Method
POST
Response Type
- +Parameters
-
-
-
@@ -253,7 +226,6 @@
ID of pet to update
-
-
Form:
@@ -265,7 +237,6 @@
Additional data to pass to server
-
-
Form:
@@ -277,8 +248,5 @@
file to upload
-