Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constraints of scalar array item types are missing #27

Open
deiteris opened this issue Jul 6, 2021 · 0 comments
Open

Constraints of scalar array item types are missing #27

deiteris opened this issue Jul 6, 2021 · 0 comments

Comments

@deiteris
Copy link
Contributor

deiteris commented Jul 6, 2021

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.

@deiteris deiteris changed the title Properties of simple array item types are missing Constraints of simple array item types are missing Jul 6, 2021
@deiteris deiteris changed the title Constraints of simple array item types are missing Constraints of primitive array item types are missing Jul 6, 2021
@deiteris deiteris changed the title Constraints of primitive array item types are missing Constraints of scalar array item types are missing Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant