swagger: '2.0'

definitions:
  m1:
    type: object
    required: ['f1']
    properties:
      f1:
        type: string
        minLength: 1
        maxLength: 2
      f2:
        type: array
        minItems: 1
        maxItems: 10
        items:
          $ref: "#/definitions/m2"
  m2:
    type: object
    required: ['k1']
    properties:
      k1:
        type: string
        minLength: 1
        maxLength: 2

info:
  description: test
  title: test
  version: 1.1.0
paths: {}
