microsoft / typespec

https://typespec.io/
MIT License
4.34k stars 202 forks source link

How to leverage versioning decorator in server endpoint params #4317

Open qiaozha opened 3 weeks ago

qiaozha commented 3 weeks ago

Clear and concise description of the problem

https://github.com/Azure/azure-rest-api-specs/pull/27708/files#diff-40d8b2cf9bb6658c4dbf874ca40a783caaff9fa377b605ccc5b8a9fe76f38005 In the case, service team wants to update their server endpoint parameters, how should we do to keep the previous way in version v1, and have the new pattern in version v2?

Checklist

markcowl commented 3 weeks ago

investigate whether this is a blocking issue