Skip to content

Constraints of scalar array item types are missing #27

Description

@deiteris

Found during #26.

The same RAML, but the string item contains some constraints:

#%RAML 1.0

title: Example API
version: v1
mediaType:
  - application/json

/example:
  get:
    body:
      type: object
      properties:
        customArray:
          type: array
          minItems: 1
          maxItems: 7
          uniqueItems: true
          items:
            type: string
            pattern: ^.*?$
            minLength: 0
            maxLength: 20

Results in no string constraints displayed for the Array of String type in the API console.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions