Forum Discussion
ralphdoe
7 years agoNew Contributor
Hi Frank.
I think you need to use the example property.
parameters:
- in: query
name: status
schema:
type: string
enum: [approved, pending, closed, new]
example: approved
You can find more information in this link:
https://swagger.io/docs/specification/adding-examples/
Have a nice day.