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: 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.