Azure / Azure/azure-rest-api-specs
[BUG] Missing enum values in Dynatrace - billingCycle, usageType
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
### API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/0b38eb96c2692db05a881c2147d89c8017a5c88a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/dynatrace.json#L1737, https://github.com/Azure/azure-rest-api-specs/blob/0b38eb96c2692db05a881c2147d89c8017a5c88a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/dynatrace.json#L1741
### API Spec version
2023-04-27
### Describe the bug
As described in Swagger, these 2 values should be enums instead of strings.
### Expected behavior
billingCycle should have values:
```
"MONTHLY",
"WEEKLY"
```
usageType should have values:
```
"PAYG",
"COMMITTED"
```
### Actual behavior
Now these 2 values are treated as strings.
### Reproduction Steps
The actual behavior is not aligned with the description of the values in Swagger.
### Environment
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.