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
/** The metadata that describes the resource array. */
metadata?: CollectionMetadata;/** A collection of resources. */
resources?: KeyWithPayload[];
Why are metadata and resources optional if the API returns successfully? In that case a key has been created and the data structures need to be defined. Under what circumstances would they be undefined?
In case the API does not handle errors on the exception channel of the promise, then the result field on Response should be optional rather than the fields inside the response.
The text was updated successfully, but these errors were encountered:
The createKey operation is declared as follows:
with
IbmKeyProtectApiV2.Response
asand
IbmKeyProtectApiV2.Key
:Why are
metadata
andresources
optional if the API returns successfully? In that case a key has been created and the data structures need to be defined. Under what circumstances would they be undefined?In case the API does not handle errors on the exception channel of the promise, then the
result
field onResponse
should be optional rather than the fields inside the response.The text was updated successfully, but these errors were encountered: