-
Notifications
You must be signed in to change notification settings - Fork 534
Open
Description
I have encountered an exception which looks suspicious while utilizing the String enum property with the value YES. The result is that YES becomes true somehow?
My guess is that is has to do with the conversion from YAML to JSON.
Reproduce:
- Unzip the attached file
- Copy the new-issue.yaml to the following location: swagger-parser\modules\swagger-parser-v3\src\test\resources
- Replace OpenAPIV3ParserTest.java in the following location: swagger-parser\modules\swagger-parser-v3\src\test\java\io\swagger\v3\parser\test
- Execute the test case testNewIssue(), the result is failure.
A work around could be to replace YES with some other string else or just add " to make it a string
Reference: vert-x3/vertx-web#1394
aldenquimby, ssternal and evovinetu
Metadata
Metadata
Assignees
Labels
No labels