Open alex-dixon opened 1 year ago
@alex-dixon Yeah looks like this is the offending property. I haven't seen this schema variation for defining an array of enums, I would expect this:
{
"type": "array",
"items": {
"type": "string",
"enum": ["ALL_SUBNETS"]
}
}
How sure are we its valid schema? can't seem to find examples like this.
This issue has not received a response in a while and will be closed soon. If you want to keep it open, please leave a comment below @mentioning a maintainer.
Good point... Maybe the intent was this?
"type": "array",
"items": {
"type": "string",
"enum": [
"ALL_SUBNETS"
],
}
https://www.jsonschemavalidator.net/s/pun2z8DS
The original seems valid yet unsatisfiable? https://www.jsonschemavalidator.net/s/ugWye2zU
Keeping this open and marking p2. We need to investigate if that enum declaration is indeed a valid JSON schema - if so we will fix it. If not - not.
Description of the bug:
Error when importing
github:crossplane-contrib/provider-gcp
:Object that appears to be causing.the error:
Reproduction Steps:
Error Log:
see above
Environment:
Other:
This is :bug: Bug Report