Azure / Azure/azure-rest-api-specs

[BUG]Microsoft.Web [2023-01-01] - API is not returning the push properties as defined in the swagger

Open
#29,744 1 comment 0 reactions 1 assignee Claimed by @naveedaz View on GitHub
bug Mgmt
Dominant language
TypeSpec
Stars
3.1k
Forks
6k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

### API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/cbbe228fd422db02b65e2748f83df5f2bcad7581/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/CommonDefinitions.json#L3384

### API Spec version

2023-01-01

### Describe the bug

The definition of the swagger contains two levels of `properties`, however, the api didn't follow the definition by not wrapping the detailed properties in the `properties` block:
![image](https://github.com/Azure/azure-rest-api-specs/assets/92154856/1192e0c9-2a9c-4bfa-aeef-f1f0e1af2e0e)

### Expected behavior

The api should follow the swagger definition to wrap the properties

### Actual behavior

as mentioned in the issue description

### Reproduction Steps

create the web app with push setting enabled.

### Environment

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.