diff --git a/packages/openapi-types/index.ts b/packages/openapi-types/index.ts index 26cada56..8dce9360 100644 --- a/packages/openapi-types/index.ts +++ b/packages/openapi-types/index.ts @@ -123,7 +123,9 @@ export namespace OpenAPIV3_1 { export type ExternalDocumentationObject = OpenAPIV3.ExternalDocumentationObject; - export type ParameterObject = OpenAPIV3.ParameterObject; + export interface ParameterObject extends Omit { + schema: ReferenceObject | SchemaObject + } export type HeaderObject = OpenAPIV3.HeaderObject;