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

using "allOf" triggers exit with error "non supported '[]' type" #208

Open
2 tasks
winmillwill opened this issue Mar 1, 2020 · 0 comments
Open
2 tasks

Comments

@winmillwill
Copy link

Describe the bug

When using allOf in the schema, the program exits with an error, even if there is only one schema in the list and that schema worked before.

To Reproduce

Steps to reproduce the behavior:

  1. start with any working openapi v2 spec and terraform module
  2. change the schema of anything from x to {allOf: [x]}
  3. run terraform plan

Expected behaviour

Example:

Scenario:
Given a schema
When it uses allOf
Then the validator should detect that all of the schemas apply

Checklist (for admin only)

Don't forget to go through the checklist to make sure the issue is created properly:

  • I have added a corresponding label (bug) to the issue (right side menu)
  • I have added this issue to the 'API Terraform Provider' GitHub project (right side menu)
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