Show multiple-list selection in swagger UI template examples (petshop)
Status:
Implemented
Submitted by
sommeralex
on
05-23-2018
01:54 AM
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
😉
2 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.