components:
  schemas:
    ArrayOfUsers:
      type: array
      items:
        type: object
        properties:
          id:
            type: integer
          name:
            type: string
      example:
        - id: 10
          name: Jessica Smith
        - id: 20
          name: Ron Stewart

would give

[ [ {id: 1, "name": "Jessica Smith"},{id: 20, "name": "Ron Stewart"} ]] where 
expected is [{id: 1, "name": "Jessica Smith"},{id: 20, "name": "Ron Stewart"}]

That additional square bracket is the bug.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to