Skip to content

Commit 210a47c

Browse files
chore: Add PR requested changes
1 parent f5fa868 commit 210a47c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

app/Http/Controllers/Api/OAuth2/OAuth2RocketChatSSOApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct
6666
content: new OA\JsonContent(
6767
// The content of the response is defined by "data" portion of
6868
// the Rocket Chat login endpoint response structure
69-
red: '#/components/schemas/RocketChatUserProfile',
69+
ref: '#/components/schemas/RocketChatUserProfile',
7070
)
7171
),
7272
new OA\Response(

app/Swagger/Models/RocketChatUserProfileSchema.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
#[OA\Schema(
88
schema: 'RocketChatUserProfile',
99
type: 'object',
10-
properties: [
11-
],
12-
description: 'Rocket Chat SSO user profile'
10+
additionalProperties: true,
11+
description: 'Rocket Chat SSO user profile. The response structure is the "data" portion of the Rocket Chat /api/v1/login endpoint response and is defined by the external Rocket Chat server.'
1312
)]
1413
class RocketChatUserProfileSchema
1514
{
16-
}
15+
}

0 commit comments

Comments
 (0)