|
72 | 72 | description: Invalid ID supplied
|
73 | 73 | '404':
|
74 | 74 | description: Pet not found
|
75 |
| - '405': |
| 75 | + '422': |
76 | 76 | description: Validation exception
|
77 | 77 | security:
|
78 | 78 | - petstore_auth:
|
@@ -107,7 +107,9 @@ paths:
|
107 | 107 | application/xml:
|
108 | 108 | schema:
|
109 | 109 | $ref: '#/components/schemas/Pet'
|
110 |
| - '405': |
| 110 | + '400': |
| 111 | + description: Invalid body format |
| 112 | + '422': |
111 | 113 | description: Invalid input
|
112 | 114 | security:
|
113 | 115 | - petstore_auth:
|
@@ -249,7 +251,7 @@ paths:
|
249 | 251 | schema:
|
250 | 252 | type: string
|
251 | 253 | responses:
|
252 |
| - '405': |
| 254 | + '400': |
253 | 255 | description: Invalid input
|
254 | 256 | security:
|
255 | 257 | - petstore_auth:
|
@@ -364,7 +366,9 @@ paths:
|
364 | 366 | application/json:
|
365 | 367 | schema:
|
366 | 368 | $ref: '#/components/schemas/Order'
|
367 |
| - '405': |
| 369 | + '400': |
| 370 | + description: Invalid body format |
| 371 | + '422': |
368 | 372 | description: Invalid input
|
369 | 373 | /store/order/{orderId}:
|
370 | 374 | get:
|
@@ -855,8 +859,10 @@ paths:
|
855 | 859 | schema:
|
856 | 860 | $ref: "#/definitions/Pet"
|
857 | 861 | responses:
|
858 |
| - "405": |
859 |
| - description: "Invalid input" |
| 862 | + "400": |
| 863 | + description: Invalid body format |
| 864 | + "422": |
| 865 | + description: Invalid input |
860 | 866 | security:
|
861 | 867 | - petstore_auth:
|
862 | 868 | - "write:pets"
|
@@ -885,7 +891,7 @@ paths:
|
885 | 891 | description: "Invalid ID supplied"
|
886 | 892 | "404":
|
887 | 893 | description: "Pet not found"
|
888 |
| - "405": |
| 894 | + "422": |
889 | 895 | description: "Validation exception"
|
890 | 896 | security:
|
891 | 897 | - petstore_auth:
|
@@ -1019,8 +1025,10 @@ paths:
|
1019 | 1025 | required: false
|
1020 | 1026 | type: "string"
|
1021 | 1027 | responses:
|
1022 |
| - "405": |
1023 |
| - description: "Invalid input" |
| 1028 | + "400": |
| 1029 | + description: Invalid body format |
| 1030 | + "422": |
| 1031 | + description: Invalid input |
1024 | 1032 | security:
|
1025 | 1033 | - petstore_auth:
|
1026 | 1034 | - "write:pets"
|
|
0 commit comments