You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While methods contain an array of available api-versions, there's no easy way to determine which one is the default api-version. At present, we can enumerate the params, looking for isApiVersionParam and clientDefaultValue. Maybe method types can have a method getDefaultApiVersion() or something that returns the default? Or the index into apiVersions that's the default version.
Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
Clear and concise description of the problem
While methods contain an array of available api-versions, there's no easy way to determine which one is the default api-version. At present, we can enumerate the params, looking for
isApiVersionParam
andclientDefaultValue
. Maybe method types can have a methodgetDefaultApiVersion()
or something that returns the default? Or the index intoapiVersions
that's the default version.Checklist
The text was updated successfully, but these errors were encountered: