-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1400 from swagger-api/null-missing
process exampleSetFlag to flag deserialization of null example vs missing
- Loading branch information
Showing
4 changed files
with
69 additions
and
16 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
25 changes: 25 additions & 0 deletions
25
modules/swagger-parser-v3/src/test/resources/exampleFlag.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,25 @@ | ||
openapi: 3.0.0 | ||
info: | ||
version: 1.0.1 | ||
title: Products API definition for the 4th Platform | ||
paths: | ||
'/TestDTO': | ||
get: | ||
operationId: description | ||
components: | ||
schemas: | ||
TestDTO: | ||
type: object | ||
example: null | ||
TestString: | ||
type: string | ||
example: null | ||
TestNumber: | ||
type: integer | ||
example: null | ||
TestDTOMissing: | ||
type: object | ||
TestStringMissing: | ||
type: string | ||
TestNumberMissing: | ||
type: integer |
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