profile.yaml: require displayname/avatar_url

This makes a deliberate choice for the question stated in #2717.
pull/1094/head
Alexey Rusakov 3 years ago
parent c11991f9de
commit f8bf0fa0ac

@ -56,6 +56,7 @@ paths:
displayname: displayname:
type: string type: string
description: The new display name for this user. description: The new display name for this user.
required: ["displayname"]
responses: responses:
200: 200:
description: The display name was set. description: The display name was set.
@ -131,6 +132,7 @@ paths:
type: string type: string
format: uri format: uri
description: The new avatar URL for this user. description: The new avatar URL for this user.
required: ["avatar_url"]
responses: responses:
200: 200:
description: The avatar URL was set. description: The avatar URL was set.

Loading…
Cancel
Save