IBM / keyprotect-nodejs-client

Nodejs SDK for interacting with the IBMCloud KeyProtect service.
Apache License 2.0
0 stars 10 forks source link

Documentation for `KeyWithPayload` misleading #10

Open CarstenLeue opened 2 years ago

CarstenLeue commented 2 years ago

Documentation for the KeyWithPayload type says:

    /** Properties returned only for DELETE. */
    interface KeyWithPayload {
        /** Specifies the MIME type that represents the key resource. Currently, only the default is supported. */
        type?: string;
        /** The v4 UUID used to uniquely identify the resource, as specified by RFC 4122. */

What is meant by /** Properties returned only for DELETE. */? I see a data structure with some of the fields populated being returned by a createKey operation as well.