openapi: 3.0.3
info:
  version: 1.0.0
  description: Specification to reproduce beanValidation bodyParam issue
  title: RequestBodyValidationTest Api
paths:
  /add:
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: integer
              title: quantity
              minimum: 2
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: boolean