-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify the typespec options to kebab-case style (#2960)
* update config name style * update options * fix ci * update tspconfig * update * format * update * format * update * update config * update config * fix ci * support both config * update package details config * update doc * update * update ut config * update * revert change * regen code * update modular unit test * add option warning * fix ci * update * update * update * update reportCamelOptionDiagnostic * update * update * fix ci * update * update * update * update getPackageDetail * Revert "update getPackageDetail" This reverts commit 8273664. * update * regen widget_dpg smoke * update * Remove useless definition --------- Co-authored-by: Mary Gao <[email protected]> Co-authored-by: Qiaoqiao Zhang <[email protected]>
- Loading branch information
1 parent
7da1005
commit 26a7f7d
Showing
292 changed files
with
2,623 additions
and
2,126 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
packages/typespec-test/test/NetworkAnalytics.Management/tspconfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
emit: ["@azure-tools/typespec-ts"] | ||
options: | ||
"@azure-tools/typespec-ts": | ||
typespecTitleMap: | ||
typespec-title-map: | ||
NetworkAnalyticsClient: NetworkAnalyticsApi | ||
examples-directory: "{project-root}/spec/examples" | ||
generateMetadata: true | ||
generateTest: true | ||
azureSdkForJs: false | ||
experimentalExtensibleEnums: true | ||
"emitter-output-dir": "{project-root}/generated/typespec-ts/sdk/test/arm-test" | ||
packageDetails: | ||
generate-metadata: true | ||
generate-test: true | ||
azure-sdk-for-js: false | ||
experimental-extensible-enums: true | ||
emitter-output-dir: "{project-root}/generated/typespec-ts/sdk/test/arm-test" | ||
package-details: | ||
name: "@azure/arm-networkanalytics" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
packages/typespec-test/test/healthInsights_radiologyinsights/tspconfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
emit: ["@azure-tools/typespec-ts"] | ||
options: | ||
"@azure-tools/typespec-ts": | ||
generateMetadata: true | ||
generateTest: true | ||
generateSample: true | ||
azureSdkForJs: false | ||
isModularLibrary: true | ||
"emitter-output-dir": "{project-root}/generated/typespec-ts" | ||
packageDetails: | ||
generate-metadata: true | ||
generate-test: true | ||
generate-sample: true | ||
azure-sdk-for-js: false | ||
is-modular-library: true | ||
emitter-output-dir: "{project-root}/generated/typespec-ts" | ||
package-details: | ||
name: "@azure-rest/health-insights-radiologyinsights" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.