From a26dd4bd98c553ac2d26ed78a222ac323a5c683c Mon Sep 17 00:00:00 2001 From: Valerii Petryniak <44531564+valerii15298@users.noreply.github.com> Date: Sun, 21 Dec 2025 04:14:58 +0200 Subject: [PATCH] Fix: `allowEmptyValue` is valid only for query parameters. --- openapi-3-2/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi-3-2/index.d.ts b/openapi-3-2/index.d.ts index 1d6fc4f..72d0c78 100644 --- a/openapi-3-2/index.d.ts +++ b/openapi-3-2/index.d.ts @@ -188,7 +188,6 @@ export type Parameter = { description?: string; required?: boolean; deprecated?: boolean; - allowEmptyValue?: boolean; } & Examples & ( ( { @@ -201,6 +200,7 @@ export type Parameter = { ) | ( { in: "query"; + allowEmptyValue?: boolean; } & ( ({ style?: "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" } & SchemaParameter) | ContentParameter