Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.69k stars 5.11k forks source link

[BUG] runtime behavior is not same as specs #31625

Open weidongxu-microsoft opened 1 day ago

weidongxu-microsoft commented 1 day ago

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/30ec6607bbcbeceb13b634de955667c5aa45766a/specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/billingAccount.json#L894-L899

API Spec version

2024-04-01

Describe the bug

See https://github.com/Azure/azure-sdk-for-java/issues/43029#issuecomment-2489327668

The response of the startDate is now 6/1/2023 12:00:00 AM +00:00, which is not RFC3339.

Expected behavior

Date-time be RFC3339, if not specified otherwise.

Actual behavior

6/1/2023 12:00:00 AM +00:00, which is not RFC3339.

Reproduction Steps

call https://learn.microsoft.com/en-us/rest/api/billing/billing-accounts/get?view=rest-billing-2024-04-01&tabs=HTTP

Environment

No response

v-jiaodi commented 1 day ago

@bradenwatkins Please help take a look, thanks.