Community
Participate
Working Groups
In our project we have more that one class with this same name but they are located in different packages or are nested within other class. However generation of JsonSchema is using referenceDescriptor.getJavaClass().getSimpleName() to create reference name. In this case, only first one will be added to definitions and others will be wrong referenced to first one instead of creating separate definition for each ones.
Please add reproducible testCase.
Created attachment 249647 [details] Reproducible test case Java 8 maven project. Please run GenerateJsonSchemaTest, it shows that generated JsonSchema use one definition to two different nested classes.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink