Open
Description
As reported in #1081 and
#1422, something gets confused and creates Foo.java and Foo1.java, even though there is just one foo.json model.
Those issues report that the problem has been fixed, but it has not.
In https://github.com/jimshowalter/swagger-parser-external-ref-bug there is a schema that reproduces the problem.
Run the JavaJAXRSSpecServerCodegen.java code generator on it, and you'll see that it generates a Stunts.java and Stunts1.java, but there is only stunts.json.
Also in that repo is a fix, or at least a fix that works for us. Look for "// BEGIN REFERENCE FORK:".
Metadata
Metadata
Assignees
Labels
No labels