title: Specify an array as a parameter with Swagger
body: <p>How do I specify an array as a parameter?  For instance, post to /persons can be given strings username, firstname, and lastname, <strong>and array myArray</strong>.</p>
  
  <pre><code>paths:
    /persons:
      post:
        parameters:
          - name: person_what_is_the_purpose_of_this
            in: body
            description: The person to create.
            schema:
              required:
                - username
              properties:
                firstName:
                  type: string
                lastName:
                  type: string
                username:
                  type: string
                myArray:
                  type: array
                    items:
                      properties:
                        myArrayElement:
                          type: string
        responses:
          200:
            description: A list of Person
            schema:
              type: array
              items:
                required:
                  - username
                properties:
                  firstName:
                    type: string
                  lastName:
                    type: string
                  username:
                    type: string
  </code></pre>