From a5e41662b71add4d1802e2fe0aa17d7be23d796d Mon Sep 17 00:00:00 2001 From: Richard Whitehouse Date: Mon, 19 Aug 2024 14:22:59 +0100 Subject: [PATCH] [Rust Server] Test operation with two boolean parameters with same first letter --- .../resources/3_0/rust-server/openapi-v3.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/openapi-generator/src/test/resources/3_0/rust-server/openapi-v3.yaml b/modules/openapi-generator/src/test/resources/3_0/rust-server/openapi-v3.yaml index fe72f74fe665..42eb83063f5b 100644 --- a/modules/openapi-generator/src/test/resources/3_0/rust-server/openapi-v3.yaml +++ b/modules/openapi-generator/src/test/resources/3_0/rust-server/openapi-v3.yaml @@ -479,6 +479,22 @@ paths: responses: 200: description: 'OK' + /operation-two-first-letter-headers: + post: + operationId: TwoFirstLetterHeaders + description: Check we don't barf if two boolean parameters have the same first letter + parameters: + - name: x-header-one + in: header + schema: + type: boolean + - name: x-header-two + in: header + schema: + type: boolean + responses: + 200: + description: OK components: securitySchemes: