-
-
Notifications
You must be signed in to change notification settings - Fork 535
Closed
Description
How can I achieve the following generated mapping?
"parameters":[
{
"name":"myformat",
"in":"query",
"required":true,
"type":"string",
"allowEmptyValue":false,
"enum":[
"csv",
"json",
"xml"
]
}
]
@Parameter(name = "myformat", required = true) String myformat
Maybe you could add a property allowableValues = ["csv", "json", "xml"]
to @Parameter
?
Metadata
Metadata
Assignees
Labels
No labels