Skip to main content

Interface: OperationSpec

Defined in: http-server-mcp-openapi/src/types.ts:135

Indexable​

[extension: string]: unknown

Properties​

description?​

optional description?: string

Defined in: http-server-mcp-openapi/src/types.ts:139


operationId?​

optional operationId?: string

Defined in: http-server-mcp-openapi/src/types.ts:136


parameters?​

optional parameters?: object[]

Defined in: http-server-mcp-openapi/src/types.ts:140

$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: http-server-mcp-openapi/src/types.ts:155


summary?​

optional summary?: string

Defined in: http-server-mcp-openapi/src/types.ts:138


tags?​

optional tags?: string[]

Defined in: http-server-mcp-openapi/src/types.ts:137