Skip to content

Commit 3c80a64

Browse files
committed
fix: update getAccount response type from array to single account object
The getAccount endpoint was incorrectly documented as returning an array of accountMembership objects, but it actually returns a single accountMembership object. This change updates the OpenAPI specification to correctly reflect the actual API behavior. This fix ensures consistency with other similar single-object endpoints like createAccount, updateAccount, and getCurrentUser. Fixes #567
1 parent df38897 commit 3c80a64

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

swagger.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,9 +2054,7 @@ paths:
20542054
'200':
20552055
description: OK
20562056
schema:
2057-
type: array
2058-
items:
2059-
$ref: '#/definitions/accountMembership'
2057+
$ref: '#/definitions/accountMembership'
20602058
default:
20612059
$ref: '#/responses/error'
20622060
put:

0 commit comments

Comments
 (0)