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

feat: Updated spec file

parent 09e34c21
No related branches found
No related tags found
1 merge request!94feat: Updated spec file
Pipeline #284325 failed
......@@ -547,6 +547,9 @@
"required": true
},
"responses": {
"200": {
"description": "Successfully updated the challenge"
},
"401": {
"description": "Day is already completed or day outside of range",
"content": {
......@@ -556,9 +559,6 @@
}
}
}
},
"200": {
"description": "Successfully updated the challenge"
}
}
}
......@@ -857,28 +857,28 @@
"required": true
},
"responses": {
"200": {
"description": "Successfully logged in",
"404": {
"description": "User not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AuthenticationResponse"
"$ref": "#/components/schemas/ExceptionResponse"
}
}
}
},
"401": {
"description": "Invalid credentials",
"200": {
"description": "Successfully logged in",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExceptionResponse"
"$ref": "#/components/schemas/AuthenticationResponse"
}
}
}
},
"404": {
"description": "User not found",
"401": {
"description": "Invalid credentials",
"content": {
"application/json": {
"schema": {
......@@ -2739,6 +2739,10 @@
"type": "integer",
"format": "int64"
},
"bannerImage": {
"type": "integer",
"format": "int64"
},
"configuration": {
"$ref": "#/components/schemas/ConfigurationDTO"
}
......
......@@ -8,6 +8,7 @@ export type UserUpdateDTO = {
lastName?: string;
email?: string;
profileImage?: number;
bannerImage?: number;
configuration?: ConfigurationDTO;
};
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