@spailybot/moleculer-auto-openapi - v1.3.2
    Preparing search index...

    Type Alias actionOpenApiResponse

    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

    • Optionalcontent?: OpenAPIV3_1.MediaTypeObject

      the content of the response

    • OptionalstatusCode?: number

      an override of the default status code

      200
      
    • Optionaltype?: string

      an override of the content-type