-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Empty and blank query parameter examples were parsed to null. Now they are parsed to an empty and blank string respectively.
- Loading branch information
1 parent
6b9d848
commit a4ba9fb
Showing
5 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
modules/swagger-parser-v3/src/test/resources/blankQueryParameter.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
openapi: 3.0.2 | ||
info: | ||
title: Example references | ||
version: 1.0.0 | ||
paths: | ||
/foo: | ||
get: | ||
parameters: | ||
- name: paramName | ||
in: query | ||
example: " " | ||
responses: | ||
'200': | ||
description: success |
14 changes: 14 additions & 0 deletions
14
modules/swagger-parser-v3/src/test/resources/emptyQueryParameter.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
openapi: 3.0.2 | ||
info: | ||
title: Example references | ||
version: 1.0.0 | ||
paths: | ||
/foo: | ||
get: | ||
parameters: | ||
- name: paramName | ||
in: query | ||
example: "" | ||
responses: | ||
'200': | ||
description: success |