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
I am trying to generate a schema from my classes. so far I do like the feel of this library, but I did run into a problem which would prevent me actually using it: The enum classes get inlined instead of separated.
I saw that this was already asked in #11, but seemed to have been closed without fixing it?
It was asked for a Valid json:
I would expect, that the following Java class
This is causing problems for our use cases, too. So far we've been able to revert the undesired behaviour in a wrapper for the generator, but now we stumbled across a use-case which cannot be fixed externally.
Consider the following example:
public class Foo {
public FooEnum value1;
public AnotherFooEnum value2;
}
public enum FooEnum {
FIRST_VALUE,
SECOND_VALUE,
THIRD_VALUE;
}
public enum AnotherFooEnum {
FIRST_VALUE,
SECOND_VALUE,
THIRD_VALUE;
}
Hi,
I am trying to generate a schema from my classes. so far I do like the feel of this library, but I did run into a problem which would prevent me actually using it: The enum classes get inlined instead of separated.
I saw that this was already asked in #11, but seemed to have been closed without fixing it?
It was asked for a Valid json:
I would expect, that the following Java class
would generate the following schema:
but it generates:
Is there the possibility to maybe fix that?
The text was updated successfully, but these errors were encountered: