actionOpenApiResponse: Omit<OpenAPIV3_1.ResponseObject, "content"> & {
    content?: OpenAPIV3_1.MediaTypeObject;
    statusCode?: number;
    type?: string;
}

describe an openapi response . by default it use default content type OpenApiMixinSettings.defaultResponseContentType

Type declaration

  • Optional content?: OpenAPIV3_1.MediaTypeObject

    the content of the response

  • Optional statusCode?: number

    an override of the default status code

    Default

    200
    
  • Optional type?: string

    an override of the content-type