Skip to main content

HttpResponse

@prismatic-io/spectral"serverTypes/index"HttpResponse

Hierarchy#

  • HttpResponse

Index#

Properties#

Properties#

Optional body#

body? : undefined | string

Defined in packages/spectral/src/serverTypes/index.ts:93


contentType#

contentType: string

Defined in packages/spectral/src/serverTypes/index.ts:91


Optional headers#

headers? : Record‹string, string›

Defined in packages/spectral/src/serverTypes/index.ts:92


statusCode#

statusCode: number

Defined in packages/spectral/src/serverTypes/index.ts:90