Skip to content

Commit 7700a7b

Browse files
committed
Set AutoREST's export-properties-for-dict to false
commit 56935c7 Author: Peter Ombwa <[email protected]> Date: Thu Jan 12 13:54:06 2023 -0800 Bump module version. commit 7fa8d22 Author: Peter Ombwa <[email protected]> Date: Thu Jan 12 12:00:08 2023 -0800 Update documentPath REGEX to match new AutoREST's format. commit 2e7128c Author: Peter Ombwa <[email protected]> Date: Thu Jan 12 10:58:23 2023 -0800 Update documentPath regex. commit ce4cce8 Author: Peter Ombwa <[email protected]> Date: Thu Jan 12 09:38:39 2023 -0800 Removed AutoREST.PowerShell submodule.
1 parent 64db17e commit 7700a7b

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

autorest.powershell

Lines changed: 0 additions & 1 deletion
This file was deleted.

config/ModuleMetadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
],
2727
"versions": {
2828
"authentication": {
29-
"prerelease": "preview2",
29+
"prerelease": "preview3",
3030
"version": "2.0.0"
3131
},
3232
"beta": {
33-
"prerelease": "preview2",
33+
"prerelease": "preview3",
3434
"version": "2.0.0"
3535
},
3636
"v1.0": {
37-
"prerelease": "preview2",
37+
"prerelease": "preview3",
3838
"version": "2.0.0"
3939
}
4040
}

src/readme.graph.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ azure: false
77
powershell: true
88
version: latest
99
use: "@autorest/powershell"
10+
export-properties-for-dict: false
1011
metadata:
1112
authors: Microsoft Corporation
1213
owners: Microsoft Corporation
@@ -471,7 +472,7 @@ directive:
471472
- from: source-file-csharp
472473
where: $
473474
transform: >
474-
if (!$documentPath.match(/generated%5Capi%5CModels%5C\w*MicrosoftGraph\w*\d*.json.cs/gm))
475+
if (!$documentPath.match(/generated%2Fapi%2FModels%2F\w*MicrosoftGraph\w*\d*.json.cs/gm))
475476
{
476477
return $;
477478
} else {
@@ -506,7 +507,7 @@ directive:
506507
- from: source-file-csharp
507508
where: $
508509
transform: >
509-
if (!$documentPath.match(/generated%5Capi%5CModels%5C\w*\d*.dictionary.cs/gm))
510+
if (!$documentPath.match(/generated%2Fapi%2FModels%2F\w*\d*.dictionary.cs/gm))
510511
{
511512
return $;
512513
} else {
@@ -534,7 +535,7 @@ directive:
534535
- from: source-file-csharp
535536
where: $
536537
transform: >
537-
if (!$documentPath.match(/generated%5Capi%5CModels%2F\w*\d*.PowerShell.cs/gm))
538+
if (!$documentPath.match(/generated%2Fapi%2FModels%2F\w*\d*.PowerShell.cs/gm))
538539
{
539540
return $;
540541
} else {
@@ -548,7 +549,7 @@ directive:
548549
- from: source-file-csharp
549550
where: $
550551
transform: >
551-
if (!$documentPath.match(/generated%5Capi%5CModels%5C\w*MicrosoftGraph\w*\d*.cs/gm))
552+
if (!$documentPath.match(/generated%2Fapi%2FModels%2F\w*MicrosoftGraph\w*\d*.cs/gm))
552553
{
553554
return $;
554555
} else {
@@ -686,7 +687,7 @@ directive:
686687
- from: source-file-csharp
687688
where: $
688689
transform: >
689-
if (!$documentPath.match(/generated%5Cruntime%5CTypeConverterExtensions.cs/gm))
690+
if (!$documentPath.match(/generated%2Fruntime%2FTypeConverterExtensions.cs/gm))
690691
{
691692
return $;
692693
} else {
@@ -703,7 +704,7 @@ directive:
703704
- from: source-file-csharp
704705
where: $
705706
transform: >
706-
if (!$documentPath.match(/generated%5Cruntime%5CCustomizations%5CIJsonSerializable.cs/gm))
707+
if (!$documentPath.match(/generated%2Fruntime%2FCustomizations%2FIJsonSerializable.cs/gm))
707708
{
708709
return $;
709710
} else {
@@ -718,7 +719,7 @@ directive:
718719
- from: source-file-csharp
719720
where: $
720721
transform: >
721-
if (!$documentPath.match(/generated%5Cruntime%5CIAssociativeArray.cs/gm))
722+
if (!$documentPath.match(/generated%2Fruntime%2FIAssociativeArray.cs/gm))
722723
{
723724
return $;
724725
} else {
@@ -741,7 +742,7 @@ directive:
741742
- from: source-file-csharp
742743
where: $
743744
transform: >
744-
if (!$documentPath.match(/generated%5Capi%5C\w*.cs/gm))
745+
if (!$documentPath.match(/generated%2Fapi%2F\w*.cs/gm))
745746
{
746747
return $;
747748
} else {
@@ -760,7 +761,7 @@ directive:
760761
- from: source-file-csharp
761762
where: $
762763
transform: >
763-
if (!$documentPath.match(/generated%5Capi%5CSupport%5C(WindowsMalwareCategory|RunAsAccountType|(AssignmentFilter|DeviceScope)Operator).cs/gmi))
764+
if (!$documentPath.match(/generated%2Fapi%2FSupport%2F(WindowsMalwareCategory|RunAsAccountType|(AssignmentFilter|DeviceScope)Operator).cs/gmi))
764765
{
765766
return $;
766767
} else {

0 commit comments

Comments
 (0)