Backbase/backbase-openapi-tools

Missing validation constraints on collection items in request params

walaniam opened this issue · 0 comments

In case of request query param

      - name: ids
        in: query
        description: List of ids
        required: false
        style: form
        explode: true
        schema:
          maxItems: 50
          minItems: 1
          type: array
          description: List of ids
          items:
            $ref: '#/components/schemas/Uuid'
...
    Uuid:
      pattern: "^[0-9a-fA-F]{8}-?[0-9a-fA-F]{4}-?[1-5][0-9a-fA-F]{3}-?[89abAB][0-9a-fA-F]{3}-?[0-9a-fA-F]{12}$"
      type: string
      description: "Universal Unique Identifier, "

The validation (regex pattern) is missing on generated param

@RequestParam(value = "ids", required = false) java.util.List<String> ids