-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not get DefaultConfig from maven #9
Comments
The Maven version was behind the GitHub latest. I've just published 0.4.6 for you. Let me know if that fixes your issue. |
THANK U !!! |
New issue please!
…On Tue, 26 Apr 2022 at 10:54, ohadabraham ***@***.***> wrote:
Working !!! have another question related to the Schema itself - can i ask
here or new item ?
—
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFH6F2XWMP5B37XDOBGLVDVG64OBANCNFSM5UK3VJGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi ,
when i am trying to get maven project ver 0.4.5 i do not have DefaultConfig file ( but i do see it on your GitHub solution )- can u please help me understand what i am doing wrong ?
my pom is :
jitpack.io
https://jitpack.io
code:
Configuration config = DefaultConfig.build()
.setGenerateMinimal(false)
.setNonRequiredPropertyChance(0.5f)
.get();
SchemaStore schemaStore = new SchemaStore(true);
Schema schema = schemaStore.loadSchemaJson("{ "type": "object", "properties": { "name": { "type": "string" }, "birthday": { "type": "string", "format": "date" }, "age": { "type": "integer" } } }");
Generator generator = new Generator(config, schemaStore, new Random());
Object json = generator.generate(schema, 10);
fail here - DefaultConfig
The text was updated successfully, but these errors were encountered: