Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.7k stars 5.12k forks source link

[BUG] Missing enum values in AppService - TriggeredWebJobStatus #28757

Open HarveyLink opened 7 months ago

HarveyLink commented 7 months ago

API Spec link

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

API Spec version

2023-01-01 and other versions

Describe the bug

The swagger definition from response of operation https://github.com/Azure/azure-rest-api-specs/blob/e6a20fec72ed3bcb4b43c559ee20b56ca2786ec0/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/WebApps.json#L20815 is lacking of some values. As this issue from customer: https://github.com/Azure/azure-sdk-for-net/issues/43295 , the actual values from the response have:

            "Success",
            "Failed",
            "Error",
            "Aborted",
            "Running"

Expected behavior

Have value:

            "Success",
            "Failed",
            "Error",
            "Aborted",
            "Running"

Actual behavior

Only have value for

            "Success",
            "Failed",
            "Error"

Reproduction Steps

Call the api and get response.

Environment

No response

zzhxiaofeng commented 7 months ago

@xingyangli1278 Please help have a look, thank you.