autorest.typescript
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.
This is the bug from https://github.com/Azure/autorest.typescript/issues/2554 our customers and I have a pr to fix this https://github.com/Azure/autorest.typescript/pull/2556#discussion_r1627958698,the bug is because we didn't add subfolder in the serialize util filepath part,...
in previous hierarchy client support, we only support multiple parallel clients, but according to our SDK guideline https://azure.github.io/azure-sdk/typescript_design.html#ts-apisurface-serviceclient, we should support hierarchy nested client, like Client A has a sub...
In this issue https://github.com/Azure/autorest.typescript/issues/2348 we hard-coded logic for client-level parameter for subscriptionId in ARM. I think we also need to support this in a more general way. ```[tasklist] ### Tasks...
Here are some things that were left out from the initial Serializer PR that we need to address: - [ ] Remove any casting on dictionary deserialization ([reference](https://github.com/Azure/autorest.typescript/pull/2613#discussion_r1651115905)) - [...
```[tasklist] ### Tasks - [ ] https://github.com/Azure/autorest.typescript/issues/1971 - [ ] https://github.com/Azure/autorest.typescript/issues/2420 - [ ] https://github.com/Azure/autorest.typescript/issues/2220 - [ ] https://github.com/Azure/autorest.typescript/issues/2219 - [ ] https://github.com/Azure/autorest.typescript/issues/2216 - [ ] https://github.com/Azure/autorest.typescript/issues/2078 - [ ]...
See pr https://github.com/Azure/autorest.typescript/pull/2501/files Generated code: https://github.com/kazrael2119/autorest.typescript/blob/deviceregistry-modular/packages/typespec-test/test/DeviceRegistry.Management/generated/typespec-ts/src/rest/isUnexpected.ts#L82 In following OperationStatusGetDefaultResponse is a subset of OperationStatusGet200Response so the helper fail to type narrowing. ```ts export function isUnexpected( response: OperationStatusGet200Response | OperationStatusGetDefaultResponse, ):...
Please add a summary of what is breaking in our LRO pattern.
Add an api-version section in SDK readme as following:  refer to https://github.com/Azure/autorest.csharp/tree/feature/v3/test/TestProjects/sdk/newprojecttypespec/Azure.NewProject.TypeSpec#service-api-versions If you have capability to send the customized http request, you can add separate section on the...