From ccf4ff59c3357115d6d6c11ffb9cb7d3d3a29376 Mon Sep 17 00:00:00 2001 From: Miner28 Date: Sat, 25 Jul 2026 23:25:34 +0200 Subject: [PATCH] Make profile response properties optional --- .../components/schemas/PrivateProfile.yaml | 7 ------ .../schemas/PrivateProfileActivity.yaml | 11 ---------- .../schemas/ProfileRepresentedGroup.yaml | 5 ----- openapi/components/schemas/PublicProfile.yaml | 22 ------------------- 4 files changed, 45 deletions(-) diff --git a/openapi/components/schemas/PrivateProfile.yaml b/openapi/components/schemas/PrivateProfile.yaml index 0dd60c96..565f7ddb 100644 --- a/openapi/components/schemas/PrivateProfile.yaml +++ b/openapi/components/schemas/PrivateProfile.yaml @@ -13,10 +13,3 @@ properties: $ref: ./UserStatus.yaml statusDescription: type: string -required: - - activity - - id - - isFriend - - note - - status - - statusDescription diff --git a/openapi/components/schemas/PrivateProfileActivity.yaml b/openapi/components/schemas/PrivateProfileActivity.yaml index 75b8351a..54d5fdcf 100644 --- a/openapi/components/schemas/PrivateProfileActivity.yaml +++ b/openapi/components/schemas/PrivateProfileActivity.yaml @@ -23,14 +23,3 @@ properties: type: string worldId: $ref: ./WorldID.yaml -required: - - instanceId - - last_activity - - last_login - - location - - platform - - state - - travelingToInstance - - travelingToLocation - - travelingToWorld - - worldId diff --git a/openapi/components/schemas/ProfileRepresentedGroup.yaml b/openapi/components/schemas/ProfileRepresentedGroup.yaml index 253e1f38..259972c4 100644 --- a/openapi/components/schemas/ProfileRepresentedGroup.yaml +++ b/openapi/components/schemas/ProfileRepresentedGroup.yaml @@ -11,8 +11,3 @@ properties: $ref: ./GroupID.yaml name: type: string -required: - - bannerUrl - - iconUrl - - id - - name diff --git a/openapi/components/schemas/PublicProfile.yaml b/openapi/components/schemas/PublicProfile.yaml index d0a5e20e..5bcd8a6c 100644 --- a/openapi/components/schemas/PublicProfile.yaml +++ b/openapi/components/schemas/PublicProfile.yaml @@ -53,25 +53,3 @@ properties: type: array items: $ref: ./Tag.yaml -required: - - ageVerificationStatus - - ageVerified - - backgroundType - - badges - - bannerColor - - bannerType - - bio - - bioLinks - - displayName - - hasVrcPlus - - iconFrame - - iconUrl - - id - - isEconomyCreator - - languages - - nameplateEffect - - profileEffect - - pronouns - - representedGroup - - themeId - - trustTags