Azure / Azure/azure-rest-api-specs
[BUG] [web@*] `AzureStorageInfoValue.endpoint` is not exposed
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 37m
- Merged PRs (30d)
- 446
Description
### API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/aa0d64bef554f0f22319b8e629b9c912bbbb84a5/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-05-01/openapi.json#L43308
### API Spec version
2025-05-01
### Describe the bug
The `AzureStorageInfoValue.endpoint` property is not exposed in the rest api spec, however when trying to mount a file share, the property is required. Otherwise the service will return
```
{"ErrorEntity":{"ExtendedCode":"01033","MessageTemplate":"Theparameter '{0}' has an invalid value. Details:{1}.","Parameters":["Endpoint","Endpoint cannot be empty for File Sharestorage mounts"],"Code":"BadRequest","Message":"The parameter 'Endpoint'has an invalid value. Details: Endpoint cannot be empty for File Sharestorage mounts."}}],"Innererror":null}
```
### Expected behavior
The property is exposed in the swagger
### Actual behavior
The property is not listed in the swagger
### Reproduction Steps
N/A
### Environment
_No response_
Contributor guide
Research direction
Start with the linked 2025-05-01 openapi.json at line 43308 and inspect the AzureStorageInfoValue schema. Confirm how the endpoint property is represented in the source specification, then verify that the completed schema exposes it for file share mounts.
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
- Clearly specified
- Newbie friendliness
- 55/100