Azure / Azure/azure-openapi-validator
[new rule]: Enum cannot be: "type": "Boolean",
Open
p1
sdk-rule
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 57
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Description
### Lint rule description
Enum can not be: "type": "boolean",
### Related swagger example
https://github.com/Azure/autorest.python/issues/847
https://github.com/Azure/azure-rest-api-specs/pull/14676/files
### Category
SDK
### Severity level
Error
### Applies to
Management plane API spec, Data plane API spec
### How to fix the violation
avoid this usage
### What't the impact if breaking the rule
python does not support Boolean Enum
Contributor guide
Assessment
This issue has not been assessed yet.