autorest.typescript icon indicating copy to clipboard operation
autorest.typescript copied to clipboard

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.

Results 378 autorest.typescript issues
Sort by recently updated
recently updated
newest added

The getClientOpenAIClient function in classic/client/openAIClient/index.ts should have a return type annotation: ![image](https://github.com/Azure/autorest.typescript/assets/6074665/081b53c0-8603-4147-954a-ea25f0fa0268)

P1
HRLC

According to https://github.com/Azure/autorest.typescript/issues/2218, for additional properties in legacy client, we generate model with additionalProperties bag to accept additional properties in the modular layer, it will pending on the serialize and...

blocked
HRLC
p0

Language emitters should work to move entirely to TCGC's new ecosystem. The entry point for the ecosystem is accessing .sdkPackage on the SdkContext returned from tcgc

In one of my SDK Generations using Typespec, I found the following issue in the `rest/clientDefinitions.ts` file: ```js // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import...

P1
RLC
HRLC

With the previous Swagger based SDK, we were able to select multiple items in the swagger and override them. This override could be naming overrides, type overrides, required/optional overrides, etc....

P1
RLC
DPG/RLC Backlog
HRLC

fixes https://github.com/Azure/autorest.typescript/issues/2793 fixes https://github.com/Azure/autorest.typescript/issues/2792 ### Breakings CollectionFormat with csv and multi are most commonly used cases, for `csv` there is no breaking. And for `multi` there will be a breaking...

For typespec-test , when the `tspconfig.yaml` contains `isModularLibrary: true`, the generated code has an additional '|' in the end. https://github.com/Azure/autorest.typescript/pull/2871#discussion_r1816180138 ![Image](https://github.com/user-attachments/assets/d90a3bda-4c48-4625-be22-fdd63b4fdb0c)

https://github.com/Azure/autorest.typescript/pull/2871#discussion_r1816179552 ![Image](https://github.com/user-attachments/assets/1b5b8d89-92eb-48ab-a1c3-8b5201ad6a79)

![image](https://github.com/user-attachments/assets/c86adbd5-3aaa-4679-8672-8bf290222abd) $ npx tsp compile ./client.tsp TypeSpec compiler v0.61.2 Failed to format file: D:\backup\autorest.typescript\packages\typespec-test\test\ai\generated\typespec-ts\src\api\agents\index.ts Emitter "@azure-tools/typespec-ts" crashed! This is a bug. Please file an issue at https://github.com/Azure/autorest.typescript/issues SyntaxError: ':' expected....