Skip to main content

Interface: OperationSpec

Defined in: types.ts:95

Indexable

[extension: string]: unknown

Properties

description?

optional description?: string

Defined in: types.ts:97


operationId?

optional operationId?: string

Defined in: types.ts:96


parameters?

optional parameters?: object[]

Defined in: types.ts:98

$ref?

optional $ref?: string

description?

optional description?: string

explode?

optional explode?: boolean

Whether each value gets its own key. Defaults to true for form.

in?

optional in?: string

name?

optional name?: string

required?

optional required?: boolean

schema?

optional schema?: object

schema.items?

optional items?: object

schema.items.type?

optional type?: string

schema.type?

optional type?: string

style?

optional style?: string

Query serialisation style, e.g. form (default) or deepObject.


requestBody?

optional requestBody?: RequestBodySpec

Defined in: types.ts:113