Azure / Azure/azure-rest-api-specs

define a empty enum in RP: adhybridhealthservice

Open
#12,781 3 comments 0 reactions 0 assignees View on GitHub
AAD Service Attention
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.