Azure / autorest.typescript

Extension for AutoRest (https://github.com/Azure/autorest) that generates TypeScript code. The transpiled javascript code is isomorphic. It can be run in browser and in node.js environment.
MIT License
179 stars 75 forks source link

Consider Providing a Fixed Method to Extract Default API Version in Client #2761

Open wanlwanl opened 3 months ago

wanlwanl commented 3 months ago

The method to extract client's api version may change between versions. e.g. openAIContext.ts

If one of the following:

changes, js-sdk-release-tools will need to change accordingly to extract default api version in client.

To decouple emitter version and js-sdk-release-tools, please consider providing a fixed method to extract default api version in client