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

x-ms-identifiers alternatives #1983

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

AlitzelMendez
Copy link
Member

issue: #1473

@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 12, 2024

All changed packages have been documented.

  • @azure-tools/typespec-autorest
  • @azure-tools/typespec-azure-resource-manager
Show changes

@azure-tools/typespec-autorest - feature ✏️

Use the @Identifiers decorator to identify and utilize identifiers for x-ms-identifiers. Additionally, use the @key decorator to identify identifiers.

@azure-tools/typespec-azure-resource-manager - feature ✏️

Use the @Identifiers decorator to identify and utilize identifiers for x-ms-identifiers. Additionally, use the @key decorator to identify identifiers.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@AlitzelMendez AlitzelMendez changed the title [WIP] x-ms-identifiers alternatives x-ms-identifiers alternatives Dec 17, 2024
@AlitzelMendez AlitzelMendez marked this pull request as ready for review December 17, 2024 17:46
Copy link
Member

@markcowl markcowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few changes - there is a subtlety that 'name' and 'id' properties remove the need for x-ms-identifiers.

Also, should have an up-to-date PR showing the changes this creates in azure-rest-api-specs repos

@AlitzelMendez AlitzelMendez linked an issue Jan 6, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x-ms-identifiers alternative
3 participants