[Reservations] Wrong `purchaseDate` type in ReservationsProperties
BigCat20196 opened this issue · comments
Our customer found the wrong definition of purchaseDate
type when using SDK. After investigation, it is because swagger defines that it uses date
instead of date-time
, which leads to the conversion of Python SDK into date
when it is generated. The correct format is iso-8601
.
Rest:
relate link: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/reservations.json#L2036
sdk link issue: Azure/azure-sdk-for-python#24420
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rkapso.
Issue Details
Our customer found the wrong definition of purchaseDate
type when using SDK. After investigation, it is because swagger defines that it uses date
instead of date-time
, which leads to the conversion of Python SDK into date
when it is generated. The correct format is iso-8601
.
Rest:
relate link: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/reservations.json#L2036
sdk link issue: Azure/azure-sdk-for-python#24420
Author: | BigCat20196 |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |