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.
Перейти к файлу
Jiao Di (MSFT) 854466fff8
Supplememnt test case for structure and azure resource (#2786)
* supplememnt test case

* upgrade cadl-ranch version

* supplement core basic and arm resource test case

* update

* Update packages/typespec-ts/test/integration/clientStructure.spec.ts

---------

Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2024-09-10 17:37:17 +08:00
.github
.scripts
.vscode
common Supplememnt test case for structure and azure resource (#2786) 2024-09-10 17:37:17 +08:00
docs
eng/scripts
packages Supplememnt test case for structure and azure resource (#2786) 2024-09-10 17:37:17 +08:00
.gitattributes
.gitignore
.npmignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
SECURITY.md
rush.json

README.md

Azure TypeScript SDK and RLC Code Generator Libraries

This repository is the code generator libraries for Azure TypeScript SDK and Azure TypeScript Rest Level Client libraries.

Packages

Name Changelog Latest Next
@autorest/typescript Changelog
@azure-tools/typespec-ts Changelog
@azure-tools/rlc-common Changelog

@next version of the package are the latest versions available on the main branch.

General Introduction

Inside this project, we support both high level client generation and rest level client generation. In the rest level client generation, we support generate code from both rest api specs and typespec. In the high level client generation, we only support generation from rest api specs.

  • @autorest/typescript: contains the original high level client generation and the rest level client generation, mostly including the transformation from autorest code model into RLC model part.
  • @azure-tools/typespec-ts: is the typescript TypeSpec emitter, which contains the transformation from TypeSpec model into RLC model.
  • @azure-tools/rlc-common: contains the common generation logic from RLC model into rest client libraries code part. Which is depended by both @autorest/typescript rlc generation part and @azure-tools/typespec-ts.