Specify CNIG pattern for custom fields

This commit is contained in:
Tom Foster 2025-02-14 12:56:16 +00:00
parent 5d5b561140
commit 76b48e25d0

View file

@ -49,6 +49,7 @@ paths:
- type: string
enum: ["avatar_url", "displayname"]
- type: string
pattern: '^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$'
description: Must follow the
[Common Namespaced Identifier Grammar](/appendices/#common-namespaced-identifier-grammar).
requestBody:
@ -148,6 +149,7 @@ paths:
- type: string
enum: ["avatar_url", "displayname"]
- type: string
pattern: '^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$'
description: Must follow the
[Common Namespaced Identifier Grammar](/appendices/#common-namespaced-identifier-grammar).
responses:
@ -215,6 +217,7 @@ paths:
- type: string
enum: ["avatar_url", "displayname"]
- type: string
pattern: '^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$'
description: Must follow the
[Common Namespaced Identifier Grammar](/appendices/#common-namespaced-identifier-grammar).
responses: