Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Generate models from TCGC and use binder * generic serializers * fix const and enum value expression * fix paged result model name * Update packages/typespec-ts/src/modular/emit-models.ts * remove old imports and refactor serializer util * fix serializer * fix anomalydetector * fix readonly, enum docs missing, serializeRecord crash issues * Update packages/typespec-ts/src/index.ts * fix extensible enum docs, knownvalue enum * fix known enum name * use binder to resolve dependencies and reserve work * Fix missing TokenCredential imports * Fix client not found issue * fix client factory signature * fix anonymous models and visitSdkPackage type * fix missing models and client parameters * add deserializer * add serializer for enum and union * do not export deserializer * use operation template * use sdkmethod to filter method level lifted parameters * fix endpoint template arguments fetching logic * fix duplicate imports * fix record serializer missing * fix unused imports * update serializer and reserve work * fix body optional * use tcgc name * fix model namespace name * smoke-test * fix extra quotes * fix serializer and deserializer missing * normalize clientOptional params * add array serializer * add array serializer * refactor operation helpers * fix serialize value * fix smoke test * use binder for streamable and generate empty object as record of any * fix docs missing * modular models for multi clients * use modular client name as context name * move options into api folder * fix docs missing * fix unit test * fix some unit test and deserializer missing * refactor serializer in operationHelpers * fix some ut and add alias description * fix some ut description * fix duplicate union type generation * resolve conflicts and rerun smoke-test * resolve emit unit test * fix some issues * skip tests because of clientDefaultValue * add todo * fix client parameters and remove enum serializer and deserializer * resolve ut * additional properties support and parameterized host issues * add notes for todo * fix smoke test * filter models with usage * fix test * resolve cadl-ranch generation * fix cadl ranch * fix addcredential filter * regen smoke test * fix additional properties and record ser/deserializer * filter api version if it is not global * fix deserializer undefined prefix * fix binary payload and array ser/deser * fix array and discriminated union ser/deser * fix smoke test * fix cadl ranch regen * fix smoke test * improve ser/deser * fix ci * add unit test * add extensible enum case * add additional properties ser/deser unit test * fix extensible enum inline generation * fix ci * fix duplicate expression * format change * fix unit test * fix unused identifiers * fix format and ci * remove api layer at top level index * resolve some comments * resolve comments * fix client parameter normalize * fix discriminated union and polymorphic base * fix discriminated base in model properties * Update packages/typespec-ts/src/modular/emitSamples.ts Co-authored-by: Daniel Getu <dgetu00@gmail.com> * reserve work * filter out lro models * filter out context * fix union docs missing * fix ci * fix format * reserve work * stop exporting anonymous model and generate anonymous body inline * anonymous model condition change and clear export with no named exports * unit test missing await * fix more uts missing await in assertEqualContent * normalize property name and add ignorePropertyNameNormalize option * remove unnecessary as any * Update packages/typespec-test/eng/smoke-test.js Co-authored-by: Daniel Getu <dgetu00@gmail.com> --------- Co-authored-by: qiaozha <qiaozha@microsoft.com> Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com> Co-authored-by: Daniel Getu <dgetu00@gmail.com>
- Loading branch information