interface SdkOpenApiParameter
Since 0.1.0

A single operation parameter.

{@code in} retains the {@code 'cookie'} arm (M21's type has it) even though M21's generator never emits it, so the unsupported-location diagnostic is reachable and coverable.

Properties

readonly
name: string
readonly
in: "path" | "query" | "header" | "cookie"
readonly
optional
required: boolean
readonly
optional
schema: SdkOpenApiSchema
readonly
optional
description: string

Usage

import { type SdkOpenApiParameter } from "sdk/src/index.ts";