From e9337d71b1b21924ceab87513521a12e3465f273 Mon Sep 17 00:00:00 2001 From: Christopher Lott Date: Mon, 23 Dec 2024 16:14:53 -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