Skip to content

Node.js based forum software built for the modern web

test: openapi schema for remoteUrl

Julian Lamfc64e89f7f76
diff --git a/public/openapi/components/schemas/UserObject.yaml b/public/openapi/components/schemas/UserObject.yaml
index 5dc0da6bf4..835b0a415e 100644
--- a/public/openapi/components/schemas/UserObject.yaml
+++ b/public/openapi/components/schemas/UserObject.yaml
@@ -16,6 +16,12 @@ UserObject:
type: string
description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
example: dragon-fruit
+ remoteUrl:
+ type: string
+ description: |
+ URL to the remote user's original profile.
+ This value is present only if the requested user is not local to the forum.
+ nullable: true
email:
type: string
description: Email address associated with the user account
@@ -213,6 +219,12 @@ UserObjectFull:
type: string
description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
example: dragon-fruit
+ remoteUrl:
+ type: string
+ description: |
+ URL to the remote user's original profile.
+ This value is present only if the requested user is not local to the forum.
+ nullable: true
email:
type: string
description: Email address associated with the user account