I am working on swagger document, and want to customize the example model in POST request. This request takes a JSON body, which has certain parameters. I want to remove some parameters and and set default values for others. What annotations should i use and where??
Currently the default body shows as
[
{
"height": 0,
"day": 0,
"decimalYear": 0,
"fyear": 0,
"elevation": 0,
"azimuth": 0,
"month": 0,
"year": 0
}
]
I want the body to be as
[{
"elevation": 28,
"azimuth": -61,
"height": 81555,
"year": 1965,
"month": 11,
"day":8
}]