Skip to content

covenix / FileResponseDecl

Interface: FileResponseDecl

Defined in: src/metadata.ts:90

A binary/file response declaration recorded by @ReturnsFile.

Properties

contentType

contentType: string

Defined in: src/metadata.ts:96

Media type for the binary body in the OpenAPI document. Defaults to application/octet-stream when not specified — the runtime Content-Type (from the returned FileResponse) can differ.


description?

optional description?: string

Defined in: src/metadata.ts:98

Optional response description for the OpenAPI document.