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

Monitor @typespec/compiler dev version build https://dev.azure.com/azure-sdk/public/_build/results?buildId=4208243&view=logs&j=aa4563e2-7f5a-5a88-019c-341451fd8a67&t=3351c2db-8046-5507-7e56-867b3895d138 step: 1.run `npm install -g @typespec/compiler@next` 2. common/config/rush run `npx @azure-tools/typespec-bump-deps@latest pnpm-config.json --add-rush-overrides` 3. packages/typespec-test run `npx @azure-tools/typespec-bump-deps@latest package.json` 4. packages/typespec-test run `npx @azure-tools/typespec-bump-deps@latest...

p0

Currently we directly generate the enum member name as typespec defined. This would be an issue if typespec enum member is not a valid typescript name. And it's better include...

HRLC
p0

We have an interesting case in OpenAI where one side of a result type had a mapped property, so the generated deserialization function didn't compile: ```ts export async function _getAzureBatchImageGenerationOperationStatusDeserialize(...

HRLC
openai
p0

if enable generateSample: true in tspconfig.ts, it will cost too much time on generating samples

HRLC
p0

Currently TCGC will not prompt apiVersion in client level but we do this before. After adopting to tcgc this feature will be supported. We need to decide if we should...

P1
RLC
HRLC

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

```[tasklist] ### Tasks - [ ] https://github.com/Azure/autorest.typescript/issues/2864 - [ ] https://github.com/Azure/autorest.typescript/issues/2830 - [ ] https://github.com/Azure/autorest.typescript/issues/2841 - [ ] https://github.com/Azure/autorest.typescript/issues/2865 - [ ] https://github.com/Azure/autorest.typescript/issues/2832 - [ ] https://github.com/Azure/autorest.typescript/issues/2840 - [ ]...

Epic
HRLC
p0

If a property value is a union enum like: ``` interface xxx { method: DataLakeStorageAuthMethod; } /** Alias for DataLakeStorageAuthMethod */ export type DataLakeStorageAuthMethod = | ManagedIdentityMethod | AccessTokenMethod; ```...

tspconfig.yaml: ``` emit: - "@azure-tools/typespec-ts" options: "@azure-tools/typespec-ts": "emitter-output-dir": "{project-root}" generateMetadata: true generateTest: false azureSdkForJs: false isTypeSpecTest: true isModularLibrary: true hierarchyClient: true packageDetails: name: "@msinternal/routes" ``` Regarding `tspconfig.yaml`, I have tried...

HRLC
p0