Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support V5 common types #47589

Open
ArthurMa1978 opened this issue Dec 17, 2024 · 0 comments
Open

Support V5 common types #47589

ArthurMa1978 opened this issue Dec 17, 2024 · 0 comments
Labels
Mgmt This issue is related to a management-plane library.

Comments

@ArthurMa1978
Copy link
Member

In version 5 and above of the common types, a format attribute was introduced to certain model properties. For example, the id property of Resource now uses the arm-id format:
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/common-types/resource-management/v5/types.json#L17
And subscriptionId is uuid:
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/common-types/resource-management/v5/types.json#L637

This change disrupts the existing type reference logic in CodeGen, so we need to enhance CodeGen to support it.

@ArthurMa1978 ArthurMa1978 added the Mgmt This issue is related to a management-plane library. label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

1 participant