Skip to content

Commit

Permalink
Update openapi.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder committed Sep 14, 2023
1 parent 7cb72e9 commit ae41703
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion LeaderboardBackend/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@
"responses": {
"200": {
"description": "This endpoint returns 200 OK regardless of whether the email was sent successfully or not."
},
"400": {
"description": "The request object was malformed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
}
}
}
Expand Down Expand Up @@ -1270,12 +1280,15 @@
"type": "object",
"properties": {
"username": {
"minLength": 1,
"type": "string",
"description": "The user's name."
},
"email": {
"minLength": 1,
"type": "string",
"description": "The user's email address."
"description": "The user's email address.",
"format": "email"
}
},
"additionalProperties": false
Expand Down

0 comments on commit ae41703

Please sign in to comment.