profile.yaml: require displayname/avatar_url

This makes a deliberate choice for the question stated in #2717.
This commit is contained in:
Alexey Rusakov 2021-06-22 17:51:53 +02:00
parent c11991f9de
commit f8bf0fa0ac

View file

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