HtmlOpenApiResponse: { description?: string; status?: HttpStatus; type: "html" }

Descriptor for an HTML response:

  • type: 'html'
  • optional HTTP status and description.

Type declaration

  • Optionaldescription?: string

    Human-readable description of the HTML response.

  • Optionalstatus?: HttpStatus

    HTTP status code to use for the HTML response.

  • type: "html"

    Constant identifier for an HTML response.