Commit fafee86
Normalization refinement including enum member name (#2839)
* Normalize enum key name
* Update the enum name
* Merge to the latest main
* Update the enum key after merging to main
* Update the api view
* Update the UT cases
* Revert un-necessary autorest changes
* Refresh the integration testing for cadl-ranch
* Update smoke testings
* Update smoke testings
* Remove useless codes
* Push un-necessary changes
* Refactor useless codes
* fix ci RLC generation
* Fix the failure cases
* regen smoke
* update unit test
* Fix the autorest issue
* fix rlc generation
* Add test cases
* Fix the ci issues
* Update the main branch
* Fix the host name issue
* Update the ignoreEnumMemberNameNormalize feature
* Update the package.json library name
* Update the smoke test
* Format rlc-common types
* Fix lint issue
* Update the test cases
* Fix the issue in autorest typescript repo
* Update the load test smoke
* Update the spec
* Fix the name issue in restore poller
* regen smoke test
* Update the modular integration
* Update the integration test
* Fix the modular UTs
* Update the test cases
* Update the UTs
* Update the test cases
* Resolve conflicts
* Update UTs
* fix ci
* Improve the normalization algo for number and upper cases
* Revert the change and update the codegen
* Update the format
* Revert the breaking changes
* Revert un-necessary changes
* Update the integration for rlc and modular
* Update the lint issues
* Update the autorest smoke testing
* Push rename file changes
* Update the file name changes
* Update the normalize style
* Update the smoek test
* fix ci
* update
* update
* update
* update dpgName
* update dpgName
* Update the autorest cases in HLC
* Update the int test
* fix ci
* Improve with number for prefix and suffix
* fix ci
* fix modular ut test
* update modular ut case
* fix ci
* Update the logic only working for non interface like type
* Update the enum list
* Update the enum list
* Update the test cases
* fix ci
* fix ci
* merge to the latest main
* update tsp
* Fix the duplicated template name issues
* Update the test cases in smoke testing
* Revert the fix and split it into a new repo
* Update a dictionary to improve splitting words
* Revert word list changes
* Revert the test cases
* Update the smoke test
* fix ci
* Update modelsGenerator.spec.ts
This reverts commit a8f8757.
* fix ci
* Fix the failed UTs
* Update enumUnion.md
* Update index.d.ts
* Merge to the latest main
* Merge to the latest main
* Update the autorest cases
* Update the all test cases
* Revert change in operation renamings
* Add the option to allow ignore-enum-member-name-normalize
* Refresh the UTs and integration and smoke testings
* Revert change in RLC swagger
* Revert the change in launch.json
* Update the useless changes
* Rename file to lower case one
* Rename file to lower case one
* Update the version tolerance codes
* Revert change in codes
* Update the file name to lower cases
* Remove wrongly added files
* Remove wrongly added files
* Remove duplicated test cases
* Update packages/typespec-ts/test/unit/uriTemplate.spec.ts
* Update packages/typespec-ts/test/unit/uriTemplate.spec.ts
* Update the smoke test and integration and normalize operation name also
* Update the test cases for method name norm
* Update the test cases for shouldn't report enum member diagnostic because of no generation
* Fix the smoke testing
* Resolve comments
* Merge to the latest main and resolve conflicts
---------
Co-authored-by: Jiao Di (MSFT) <80496810+v-jiaodi@users.noreply.github.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>1 parent 83c4544 commit fafee86
116 files changed
Lines changed: 1666 additions & 1243 deletions
File tree
- packages
- autorest.typescript/test
- rlcIntegration/generated
- dpgCustomization
- src
- lroRest/src
- version-tolerance/generated
- rlc-initial/src
- rlc-updated/src
- rlc-common
- src
- helpers
- test
- helpers
- integration
- typespec-test/test
- NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test
- review
- src
- models
- ai/generated/typespec-ts
- review
- src
- api
- classic
- agents
- connections
- evaluations
- telemetry
- models
- anomalyDetector/generated/typespec-ts
- review
- src/models
- batch_modular/generated/typespec-ts
- review
- src
- api
- models
- chatApi_modular/generated/typespec-ts
- review
- src/models
- contentsafety_modular/generated/typespec-ts
- review
- src/models
- eventgrid_modular/generated/typespec-ts
- review
- src/models
- healthInsights_radiologyinsights/generated/typespec-ts
- review
- src/models
- hierarchy_generic/generated/typespec-ts
- review
- src
- api/b
- c
- e/c
- classic/b
- c
- e/c
- models/b
- e
- loadtesting_modular/generated/typespec-ts
- review
- src/models
- openai_modular/generated/typespec-ts
- review
- src/models
- openai_non_branded/generated/typespec-ts
- review
- src/models
- overloads_modular/generated/typespec-ts
- review
- src/models
- schemaRegistry/generated/typespec-ts
- review
- src/models
- widget_dpg/generated/typespec-ts
- review
- src/models
- typespec-ts
- src
- modular
- helpers
- transform
- test
- azureIntegration/generated
- encode/bytes/src
- media-types/src
- overload/src
- type/union/src
- azureModularIntegration
- generated
- azure
- core
- basic/src
- lro
- rpc/src
- standard/src
- model/src
- page/src
- scalar/src
- traits/src
- example/basic/src
- resource-manager
- common-properties/src
- resources/src
- client/naming/src
- encode/bytes/src
- resiliency
- srv-driven-main/src
- srv-driven-old/src
- server/versions/versioned/src
- type/union/src
- integration/generated
- encode/bytes/src
- type/union/src
- modularIntegration
- generated
- encode/bytes/src
- server/versions/versioned/src
- type/union/src
- modularUnit
- scenarios
- classicClient
- clientContext
- enumUnion
- modelsGenerator
- models
- apiVersion
- nestedEnum
- flatten
- notFlatten
- serialization
- operations
- samples/operations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments