Closed XiaofeiCao closed 3 months ago
double confirm my understanding: current support is to generate removed operations, which means even user switch to an old service version which contains a removed operation, they can still not call the newly removed operation?
Yes.
For mgmt, this is same behavior of current Swagger, and there is no "switch to an old service version". (we may support it in future, as typespec should be on same api-version -- but for Swagger it could be all mixed)
For data-plane, we don't plan to address the "remove" in near future. Service should not "remove" anything that GAed. For the preview api-versions before API, current guideline is to delete them in typespec (as preview api-version should only live for about 3 months in data-plane -- there is not much benefit to keep them after a new GA api-version).
fix https://github.com/Azure/autorest.java/issues/2644
code in https://github.com/Azure/autorest.java/pull/2653/commits/01536598dde7316759619016dc3076c486d070cb
Support basic versioning senarios for
@added
and@removed
whendev-option.supports-versioning
is false(default mode)1. On Operation
2. On ModelProperty
3. On Parameter