github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/524/swagger.yml (about)

     1  swagger: '2.0'
     2  
     3  definitions:
     4    m1:
     5      type: object
     6      required: ['f1']
     7      properties:
     8        f1:
     9          type: string
    10          minLength: 1
    11          maxLength: 2
    12        f2:
    13          type: array
    14          minItems: 1
    15          maxItems: 10
    16          items:
    17            $ref: "#/definitions/m2"
    18    m2:
    19      type: object
    20      required: ['k1']
    21      properties:
    22        k1:
    23          type: string
    24          minLength: 1
    25          maxLength: 2
    26  
    27  info:
    28    description: test
    29    title: test
    30    version: 1.1.0
    31  paths: {}