Skip to content

[BUG] web, OpenAPI generated from TypeSpec is changed #40347

@weidongxu-microsoft

Description

@weidongxu-microsoft

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/openapi.json

API Spec version

2025-03-01 and 2025-05-01

Describe the bug

  1. Many schema becomes xml, e.g. https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/openapi.json#L41565-L41567
  2. route casing changed from /MSDeploy to /mSDeploy https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/AppService/stable/2025-03-01/openapi.json#L12661
  3. MSDeployProperties. In m4, the type of this properties property is actually MSDeployCore + addOnPackages property (and created MSDeployProperties for it). We should do same in TypeSpec.

Expected behavior

Route and schema should not change in such way, upon TypeSpec migration.

Actual behavior

They changed.

For (3), can service confirm the schema of MSDeploy?

Reproduction Steps

Read the OpenAPI

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions