From 03ebdb55b52f0cf26098cbf6d6c24d5c304e1a86 Mon Sep 17 00:00:00 2001 From: Christopher Lott <10234212+chrisinmtown@users.noreply.github.com> Date: Fri, 27 Dec 2024 11:09:22 -0500 Subject: [PATCH] Remove semicolon from text/plain content type in example Swagger specs The extra semicolon causes a NonConformingResponseHeaders exception when response validation is enabled for the example Swagger specs. --- examples/frameworks/spec/swagger.yaml | 2 +- examples/helloworld/spec/swagger.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/frameworks/spec/swagger.yaml b/examples/frameworks/spec/swagger.yaml index 2064866cb..c5a27f4a5 100644 --- a/examples/frameworks/spec/swagger.yaml +++ b/examples/frameworks/spec/swagger.yaml @@ -13,7 +13,7 @@ paths: description: Generates a greeting message. operationId: post_greeting produces: - - text/plain; + - text/plain responses: '200': description: greeting response diff --git a/examples/helloworld/spec/swagger.yaml b/examples/helloworld/spec/swagger.yaml index 31e80f958..0bb22098a 100644 --- a/examples/helloworld/spec/swagger.yaml +++ b/examples/helloworld/spec/swagger.yaml @@ -13,7 +13,7 @@ paths: description: Generates a greeting message. operationId: hello.post_greeting produces: - - text/plain; + - text/plain responses: '200': description: greeting response