You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be better if the OpenAPI specifies which property is included:
constresponse=awaitthis._fusionClient.retrieveRefreshTokens(userId);typeofresponse.response.refreshTokens;// RefreshToken[]typeofresponse.response.refreshToken;// Property refreshToken does not exist on type RefreshTokenResponse.constrefreshToken=awaitthis._fusionClient.retrieveRefreshTokenById(ctx.params.id);typeofrefreshToken.response.refreshTokens;// Property refreshTokens does not exist on type RefreshTokenResponse.typeofrefreshToken.response.refreshToken;// RefreshToken
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:
ColinFrick
changed the title
Distinquish between single / array response
Distinguish between single / array response
Sep 3, 2024
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: