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

Allow users to specify the api-version when trigger the sdk generation pipeline #9974

Open
raych1 opened this issue Mar 5, 2025 · 2 comments
Assignees

Comments

@raych1
Copy link
Member

raych1 commented Mar 5, 2025

Language emitters require information to determine whether the generated SDK should be a GA or Beta version.

Based on previous discussions, api-version has been considered a key factor, though further discussions may be needed. The goal is to enable service teams to release either a Beta or GA SDK for stable API specifications. However, for preview API specifications, only Beta SDKs should be allowed.

@maririos
Copy link
Member

maririos commented Mar 5, 2025

Language emitters require information to determine whether the generated SDK should be a GA or Beta version.

My understanding is that there is no way to pass that information into the emitters. So from that perspective, there is nothing the sdk generation framework could do.

Based on previous discussions, api-version has been considered a key factor

To reiterate my point, we shouldn't use api-version as a way to infer if the SDK is preview or GA. It should be a user input

@maririos
Copy link
Member

maririos commented Mar 5, 2025

api-version should be for clarity on the API spec version to use when generating the SDKs. Nothing else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants