sommeralex
7 years agoNew Member
Status:
Implemented
Show multiple-list selection in swagger UI template examples (petshop)
Hi!
Would be great to show the pet shop example with multiple list example for parameter selection.
schema:
type: array
items:
$ref: '#/components/schemas/MyEnumList'
components:
MyEnumList:
type: string
enum: [AllowedParameterValue1, AllowedParameterValue2, AllowedParameterValue3]
reason: i googled for it but could only find: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#style-values which was not really helpful as example. but thanks to really great support https://swaggerhub.drift.com/Natalie_Borovykh
;-)