You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Poor error message on incorrectly written inheritance: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'swagger': was expecting ('true', 'false' or 'null')
#424
Open
jan-matejka opened this issue
Mar 15, 2017
· 1 comment
Poor error message on incorrectly written inheritance: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'swagger': was expecting ('true', 'false' or 'null')
Redirected here from swagger-api/swagger-codegen#5080
Description
Poor error message on incorrectly written inheritance: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'swagger': was expecting ('true', 'false' or 'null')
Swagger-codegen version
current master; HEAD = 878b390
Swagger declaration file content or url
Note the missing hyphens in front of
$ref
andtype
in the single occurence ofallOf
Command line used for generation
JAR=".../swagger-codegen.git/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"
java -jar "${JAR}" generate -i ~/sscce.yaml -l swagger
Related issues
Plenty, google Unrecognized token 'swagger': was expecting ('true', 'false' or 'null')
Suggest a Fix
invalid contents of allOf: on line {line} expected {expected} got {got} on line {line_no}
The text was updated successfully, but these errors were encountered: