...

Text file src/github.com/go-openapi/validate/fixtures/go-swagger/bugs/524/swagger.yml

Documentation: github.com/go-openapi/validate/fixtures/go-swagger/bugs/524

     1swagger: '2.0'
     2
     3definitions:
     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
    27info:
    28  description: test
    29  title: test
    30  version: 1.1.0
    31paths: {}

View as plain text