Hi All,
In the dev portal how can we make this text field a drop-down using Swagger 2.0,so that instead of writing user can select from drop-down?
Please suggest.
Hi @Vipul,
In Swagger 2.0 you can use "enum" property with parameter to achieve this:
"enum": ["value1","value2", "value3"]
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |