openapi: 3.1.0
info:
  title: Sample API
  version: 1.0.0
paths:
  /products:
    post:
      operationId: createProduct
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
              contains:
                type: integer
              minContains: 1
              maxContains: 5
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                contains:
                  type: integer
                minContains: 1
                maxContains: 5
