Assume we have definition:
parameters:
- name: "myParameter"
in: query
description: array of items
required: true
allowEmptyValue: false
schema:
type: array
collectionFormat: csv
items:
type: string
example:
- 'ABC'
- 'DEF'
That would result in sending the request:
check?myParameter=ABC,DEF
But I need to send the request including […] array signs:
check?myParameter=["ABC","DEF"]
Is this achievable without using type: string? I want to have array[string] in swagger ui.