Interface TransformResponseOptions

Options or overwrites to the result ResponseObject when transforming.

interface TransformResponseOptions {
    contentOverwrite?: TransformMediaObjectOptions;
    contentTypes?: string[];
    overwrite?: Omit<ResponseObject, "content">;
}

Properties

contentOverwrite?: TransformMediaObjectOptions
contentTypes?: string[]

Array of content types to be set with this schema.

Default

["application/json"]
overwrite?: Omit<ResponseObject, "content">