jsonmodels icon indicating copy to clipboard operation
jsonmodels copied to clipboard

Add default param for fields.

Open beregond opened this issue 11 years ago • 2 comments

Probably also add it to generated schema.

beregond avatar Jul 13 '14 13:07 beregond

That would be very useful. Right now you have to subclass each field of which you want to provide a default value.

avrahamshukron avatar Oct 09 '17 18:10 avrahamshukron

I did not add the necessary default keyword to the schema when I implemented this issue. @beregond - where is the schema generation is done in the code?

avrahamshukron avatar Jan 28 '18 16:01 avrahamshukron