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
It would be useful if there is a way to describe a default value of a property. This could be especially useful in combination with a discriminator type.
To better explain the use case, if we look at the generated code of the TypeSchema spec we see different types i.e. StringPropertyType, IntegerPropertyType, etc. If you now use these types you always need to set the value of the type i.e.
It would be useful if there is a way to describe a default value of a property. This could be especially useful in combination with a discriminator type.
To better explain the use case, if we look at the generated code of the TypeSchema spec we see different types i.e.
StringPropertyType
,IntegerPropertyType
, etc. If you now use these types you always need to set the value of the type i.e.It would be much better if the
IntegerPropertyType
already includes"integer"
as default value for the type property.The text was updated successfully, but these errors were encountered: