How can I assign a default value?
#3
by
piyush333
- opened
The title already has conveyed my query, but I'll just elaborate. I want to assign a default value to certain parameters, for eg: null, False, etc. I would appreciate any kind of help.
@piyush333
have you tried prompting it,
for example "properties": {
"city": {
"type": "string",
"description": "name of the city, if not mention then the default value is null"
}
},
hiieu
changed discussion status to
closed