diff --git a/openapi/components/schemas/CurrentUser.yaml b/openapi/components/schemas/CurrentUser.yaml index ac85d2c4..845406ec 100644 --- a/openapi/components/schemas/CurrentUser.yaml +++ b/openapi/components/schemas/CurrentUser.yaml @@ -65,6 +65,10 @@ properties: type: string developerType: $ref: ./DeveloperType.yaml + discordDetails: + $ref: ./DiscordDetails.yaml + discordId: + $ref: ./DiscordID.yaml displayName: type: string emailVerified: diff --git a/openapi/components/schemas/DiscordDetails.yaml b/openapi/components/schemas/DiscordDetails.yaml new file mode 100644 index 00000000..f79fe0bf --- /dev/null +++ b/openapi/components/schemas/DiscordDetails.yaml @@ -0,0 +1,11 @@ +title: DiscordDetails +type: object +description: '' +properties: + global_name: + type: string + id: + $ref: './DiscordID.yaml' +required: + - global_name + - id diff --git a/openapi/components/schemas/DiscordID.yaml b/openapi/components/schemas/DiscordID.yaml new file mode 100644 index 00000000..e1cebc85 --- /dev/null +++ b/openapi/components/schemas/DiscordID.yaml @@ -0,0 +1,4 @@ +example: '1280064052206370848' +title: DiscordID +description: https://discord.com/developers/docs/reference#snowflakes +type: string