-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinguish between single / array response #8
Comments
ColinFrick
changed the title
Distinquish between single / array response
Distinguish between single / array response
Sep 3, 2024
This is really interesting feedback. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example the response for
retrieveRefreshTokenById
andretrieveRefreshTokens
both return theRefreshTokenResponse
.Currently the
RefreshTokenResponse
is defined as:This makes it harder to use the API clients. F.e. when using the typescript client:
It would be better if the OpenAPI specifies which property is included:
This applies to other API calls like:
ApplicationResponse
ConnectorResponse
ConsentResponse
EmailTemplateResponse
EntityGrantResponse
FamilyResponse
FormResponse
FormFieldResponse
GroupResponse
IdentityProviderLinkResponse
IdentityProviderResponse
KeyResponse
LambdaResponse
MessengerResponse
TenantResponse
ThemeResponse
UserActionReasonResponse
UserActionResponse
UserConsentResponse
UserCommentResponse
WebAuthnCredentialResponse
WebhookResponse
The list is probably not complete.
The text was updated successfully, but these errors were encountered: