Skip to content

Commit

Permalink
Correct status code for POST
Browse files Browse the repository at this point in the history
  • Loading branch information
anttiviljami committed Aug 22, 2024
1 parent 1ce958c commit a4aa7ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ paths:
requestBody:
$ref: "#/components/requestBodies/TaxCreateRequest"
responses:
"200":
"201":
$ref: "#/components/responses/TaxResponse"
"400":
$ref: "#/components/responses/ClientErrorResponse"
Expand Down Expand Up @@ -109,7 +109,7 @@ paths:
requestBody:
$ref: "#/components/requestBodies/PriceCreateRequest"
responses:
"200":
"201":
$ref: "#/components/responses/PriceResponse"
"400":
$ref: "#/components/responses/ClientErrorResponse"
Expand Down Expand Up @@ -192,7 +192,7 @@ paths:
requestBody:
$ref: "#/components/requestBodies/ProductCreateRequest"
responses:
"200":
"201":
$ref: "#/components/responses/ProductResponse"
"400":
$ref: "#/components/responses/ClientErrorResponse"
Expand Down

0 comments on commit a4aa7ba

Please sign in to comment.