openapi: 3.0.0
info:
  title: test
  version: "1.0"
paths:
  /test:
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                foo:
                  type: array
                  items:
                    type: object
                    properties:
                      bar:
                        type: integer
                        maximum: 100
      responses:
        "200":
          description: ok
