ApiResponse
+- code : Integer
+
- type : String
+
- message : String
+
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
+ +addPet
- +
URL
http://petstore.swagger.io/v2/pet
HTTP Method
@@ -14,6 +16,7 @@Response Type
Parameters
-
+
-
@@ -21,15 +24,17 @@
Parameters
Body: body - Pet(Pet) + PetPet object that needs to be added to the store
+
deletePet
- +
URL
http://petstore.swagger.io/v2/pet/{petId}
HTTP Method
@@ -38,6 +43,7 @@Response Type
Parameters
-
+
-
@@ -45,10 +51,11 @@
Parameters
petId - Long + IntegerPet id to delete
+
-
@@ -60,7 +67,9 @@
Parameters
+
findPetsByStatus
@@ -73,6 +82,7 @@
Response Type
Parameters
-
+
-
Query:
@@ -84,7 +94,9 @@
Parameters
Status values that need to be considered for filter
+
findPetsByTags
@@ -97,6 +109,7 @@
Response Type
Parameters
-
+
-
Query:
@@ -108,7 +121,9 @@
Parameters
Tags to filter by
+
getPetById
@@ -121,6 +136,7 @@
Response Type
Parameters
-
+
-
@@ -128,15 +144,17 @@
Parameters
petId - Long + IntegerID of pet to return
+
updatePet
- +
URL
http://petstore.swagger.io/v2/pet
HTTP Method
@@ -145,6 +163,7 @@Response Type
Parameters
-
+
-
@@ -152,15 +171,17 @@
Parameters
Body: body - Pet(Pet) + PetPet object that needs to be added to the store
+
updatePetWithForm
- +
URL
http://petstore.swagger.io/v2/pet/{petId}
HTTP Method
@@ -169,6 +190,7 @@Response Type
Parameters
-
+
-
@@ -176,37 +198,29 @@
Parameters
petId - Long + IntegerID of pet that needs to be updated
+
-
- Form:
- name
- String
-
-
Updated name of the pet
-
- -
- Form:
-
-
-
-
- status
- String
+ Body:
+ body
+
-
Updated status of the pet
+
+
uploadFile
- +
URL
http://petstore.swagger.io/v2/pet/{petId}/uploadImage
HTTP Method
@@ -215,6 +229,7 @@Response Type
Parameters
-
+
-
@@ -222,31 +237,24 @@
Parameters
petId - Long + IntegerID of pet to update
+
-
- Form:
-
-
-
-
- additionalMetadata
- String
-
-
Additional data to pass to server
-
- -
- Form:
- file
- File
+ Body:
+ body
+
-
file to upload
+
+