swagger: '2.0'
info:
    title: TestQueryParamAPI
    description: ''
    version: 1.0.0
host: 'i-testqueryparamapi:8080'
schemes:
    - http
produces:
    - application/json
paths:
    /rest/testQueryParam:
        get:
            operationId: testQueryParam
            produces:
                - application/json
            parameters:
                -
                    name: stringArray
                    in: query
                    description: String Array
                    required: true
                    type: array
                    items:
                        type: string
            responses:
                '200':
                    description: OK
                    schema:
                        $ref: '#/definitions/QueryParamValues'
                    examples:
                        application/json:
                            queryParamValues:
                                - string1
                                - string2
                                - string3
definitions:
    QueryParamValues:
        title: Root Type for QueryParamValues
        description: QueryParamValues
        required:
            - queryParamValues
        type: object
        properties:
            queryParamValues:
                type: array
                items:
                    type: string
        example: |-
            {
                "queryParamValues": [
                    "string1",
                    "string2",
                    "string3"
                ]
            }

