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

Update lro version in package.json for autorest rlc generation #2763

Closed kazrael2119 closed 2 months ago

kazrael2119 commented 2 months ago

fixes https://github.com/Azure/autorest.typescript/issues/2760

kazrael2119 commented 2 months ago

debug steps:

  1. checkout this pr && rush update and build
  2. in sdk repo, cd sdk\agrifood\agrifood-farming-rest\swaggers
  3. run autorest --typescript ./readme.md --use= {your local codegen path} --typescript.debugger
  4. open the url with edge or chrome: edge://inspect/#devices or chrome://inspect/#devices
  5. wait the this browser catch the debugger and enter it, then add break point
MaryGao commented 2 months ago

Java's reference: https://github.com/Azure/autorest.java/blob/6fabb93051072929ea2641bcae63a3276fa7fd50/postprocessor/src/main/java/com/azure/autorest/postprocessor/Postprocessor.java#L133

https://github.com/Azure/autorest.java/blob/6fabb93051072929ea2641bcae63a3276fa7fd50/postprocessor/src/main/java/com/azure/autorest/postprocessor/Postprocessor.java#L126-L144