Skip to content
Snippets Groups Projects
Commit ab005844 authored by Victor Ekholt Gunrell Kaste's avatar Victor Ekholt Gunrell Kaste
Browse files

feat: updated spec file.

parent 81764480
No related branches found
No related tags found
1 merge request!88Feat/redesign roadmap2
Pipeline #283726 passed with warnings
This commit is part of merge request !88. Comments created here will be created in the context of that merge request.
...@@ -411,21 +411,21 @@ ...@@ -411,21 +411,21 @@
} }
], ],
"responses": { "responses": {
"403": { "201": {
"description": "Insufficient points to purchase the item", "description": "Item purchased and added to inventory successfully",
"content": { "content": {
"application/json": { "application/json": {
"schema": {
"type": "string"
}
} }
} }
}, },
"201": { "403": {
"description": "Item purchased and added to inventory successfully", "description": "Insufficient points to purchase the item",
"content": { "content": {
"application/json": { "application/json": {
"schema": {
"type": "string"
}
} }
} }
} }
...@@ -867,8 +867,8 @@ ...@@ -867,8 +867,8 @@
} }
} }
}, },
"401": { "404": {
"description": "Invalid credentials", "description": "User not found",
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
...@@ -877,8 +877,8 @@ ...@@ -877,8 +877,8 @@
} }
} }
}, },
"404": { "401": {
"description": "User not found", "description": "Invalid credentials",
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
...@@ -1590,23 +1590,23 @@ ...@@ -1590,23 +1590,23 @@
} }
], ],
"responses": { "responses": {
"200": { "404": {
"description": "Successfully retrieved the image", "description": "Image not found",
"content": { "content": {
"*/*": { "*/*": {
"schema": { "schema": {
"type": "string", "$ref": "#/components/schemas/ExceptionResponse"
"format": "binary"
} }
} }
} }
}, },
"404": { "200": {
"description": "Image not found", "description": "Successfully retrieved the image",
"content": { "content": {
"*/*": { "*/*": {
"schema": { "schema": {
"$ref": "#/components/schemas/ExceptionResponse" "type": "string",
"format": "binary"
} }
} }
} }
...@@ -2456,10 +2456,10 @@ ...@@ -2456,10 +2456,10 @@
"subscriptionLevel": { "subscriptionLevel": {
"type": "string" "type": "string"
}, },
"checkingAccountBBAN": { "checkingAccount": {
"$ref": "#/components/schemas/BankAccountResponseDTO" "$ref": "#/components/schemas/BankAccountResponseDTO"
}, },
"savingsAccountBBAN": { "savingsAccount": {
"$ref": "#/components/schemas/BankAccountResponseDTO" "$ref": "#/components/schemas/BankAccountResponseDTO"
}, },
"point": { "point": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment