Azure / Azure/azure-rest-api-specs
define a empty enum in RP: adhybridhealthservice
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 37m
- Merged PRs (30d)
- 446
Description
I find some definitions like:
```
{
"name": "nextPartitionKey",
"in": "query",
"description": "The next partition key to query for.",
"required": true,
"type": "string",
"enum": [
" "
],
"x-ms-enum": {
"name": "nextPartitionKey",
"modelAsString": true
}
},
```
It is not a valid swagger schema if enum is empty.
Contributor guide
Research direction
Start by searching the repository for "adhybridhealthservice" and "nextPartitionKey" to locate the affected API definition. Check the surrounding OpenAPI schema and run the repository's available specification validation to confirm the invalid enum is addressed; done means the definition passes validation without an empty enum.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100