Skip to content

Commit

Permalink
Remove semicolon from text/plain content type in example Swagger specs
Browse files Browse the repository at this point in the history
The extra semicolon causes a NonConformingResponseHeaders exception
when response validation is enabled for the example Swagger specs.
  • Loading branch information
chrisinmtown committed Dec 23, 2024
1 parent 1844a2f commit e9337d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/frameworks/spec/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ paths:
description: Generates a greeting message.
operationId: post_greeting
produces:
- text/plain;
- text/plain
responses:
'200':
description: greeting response
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/spec/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ paths:
description: Generates a greeting message.
operationId: hello.post_greeting
produces:
- text/plain;
- text/plain
responses:
'200':
description: greeting response
Expand Down

0 comments on commit e9337d7

Please sign in to comment.