Azure / Azure/azure-rest-api-specs
[BUG] Wrong response format from `WebApps_ListConnectionStrings` for Function App On ACA
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
[WebApps_ListConnectionStrings](https://github.com/Azure/azure-rest-api-specs/blob/98a8d5960798aca50fb816ab67e8ec9e1167abad/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/WebApps.json#L1926) returns `properties` as object `array` for Function App on Azure Container Apps(Centauri Function App). Though in Swagger, it's defined as object.
Response:
```json
{
"id" : "/subscriptions/REDACTED/resourceGroups/javacsmrg85739add/providers/Microsoft.Web/sites/java-function-74399/config/connectionstrings",
"name" : "connectionstrings",
"type" : "Microsoft.Web/sites/config",
"location" : "East US",
"tags" : { },
"properties" : [ ]
}
```
Swagger definition:
https://github.com/Azure/azure-rest-api-specs/blob/98a8d5960798aca50fb816ab67e8ec9e1167abad/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/WebApps.json#L24420-L24429
Contributor guide
Research direction
Start in specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/WebApps.json at WebApps_ListConnectionStrings and the definition around lines 24420-24429. Compare the documented properties schema with the supplied Function App on Azure Container Apps response, then validate that the specification represents the observed response format.
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
- 52/100