Skip to main content

HttpResponse

@prismatic-io/spectral"types/HttpResponse"HttpResponse

Represents an HTTP Response, which are required for some Triggers.

Hierarchy

  • HttpResponse

Index

Properties

Properties

Optional body

body? : undefined | string

Defined in packages/spectral/src/types/HttpResponse.ts:8


contentType

contentType: string

Defined in packages/spectral/src/types/HttpResponse.ts:4


Optional headers

headers? : undefined | object

Defined in packages/spectral/src/types/HttpResponse.ts:5


statusCode

statusCode: number

Defined in packages/spectral/src/types/HttpResponse.ts:3