Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
32 stars 80 forks source link

dpg, make `ServiceVersion` only contain api-versions no later than the pinned one #2724

Closed XiaofeiCao closed 2 months ago

XiaofeiCao commented 2 months ago

fix https://github.com/Azure/autorest.java/issues/2723

  1. Let ServiceVersion contain only versions no later than the pinned api-version.
  2. If pinned api-version(or default latest api-version) is stable, make ServiceVersion contain only stable versions.
  3. Removed previous emitter logic of filtering operations/parameters/model(Properties). TCGC would do it now.