Skip to content

Commit 3de3516

Browse files
committed
Squash
1 parent f0f4aa2 commit 3de3516

14 files changed

+338
-503
lines changed

Diff for: Build.ps1

+10-7
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,19 @@ function FetchBaseBranchIfNotMaster(){
106106

107107
FetchBaseBranchIfNotMaster
108108

109-
dotnet tool restore
110-
CheckLastExitCode
109+
# dotnet tool restore
110+
# CheckLastExitCode
111111

112-
dotnet build -c Release
113-
CheckLastExitCode
112+
# dotnet build -c Release
113+
# CheckLastExitCode
114+
115+
# RunInspectCode
116+
# RunCleanupCode
117+
118+
# dotnet test -c Release --no-build --collect:"XPlat Code Coverage"
114119

115-
RunInspectCode
116-
RunCleanupCode
120+
dotnet test test/OpenApiTests
117121

118-
dotnet test -c Release --no-build --collect:"XPlat Code Coverage"
119122
CheckLastExitCode
120123

121124
ReportCodeCoverage

Diff for: test/OpenApiClientTests/OpenApiClientTests.csproj

+6
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
</OpenApiReference>
6969
</ItemGroup>
7070

71+
<ItemGroup>
72+
<None Update="xunit.runner.json">
73+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
74+
</None>
75+
</ItemGroup>
76+
7177
<!-- Fixes IntelliSense errors on openapi.json in Visual Studio 2019, which uses the schema for OpenAPI 3.1 by default. -->
7278
<ProjectExtensions>
7379
<VisualStudio>

Diff for: test/OpenApiClientTests/xunit.runner.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"parallelizeAssembly": false,
3+
"parallelizeTestCollections": false,
4+
"maxParallelThreads": 1
5+
}

Diff for: test/OpenApiTests/NamingConvention/CamelCase/CamelCaseTests.cs

+43-136
Large diffs are not rendered by default.

Diff for: test/OpenApiTests/NamingConvention/CamelCase/swagger.json

+38-38
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@
734734
},
735735
"meta": {
736736
"type": "object",
737-
"additionalProperties": {}
737+
"additionalProperties": { }
738738
}
739739
},
740740
"additionalProperties": false
@@ -861,29 +861,6 @@
861861
},
862862
"additionalProperties": false
863863
},
864-
"nullValue": {
865-
"not": {
866-
"anyOf": [
867-
{
868-
"type": "string"
869-
},
870-
{
871-
"type": "number"
872-
},
873-
{
874-
"type": "boolean"
875-
},
876-
{
877-
"type": "object"
878-
},
879-
{
880-
"type": "array"
881-
}
882-
],
883-
"items": {}
884-
},
885-
"nullable": true
886-
},
887864
"nullableStaffMemberIdentifierResponseDocument": {
888865
"required": [
889866
"data",
@@ -903,7 +880,7 @@
903880
},
904881
"meta": {
905882
"type": "object",
906-
"additionalProperties": {}
883+
"additionalProperties": { }
907884
},
908885
"jsonapi": {
909886
"$ref": "#/components/schemas/jsonapiObject"
@@ -933,7 +910,7 @@
933910
},
934911
"meta": {
935912
"type": "object",
936-
"additionalProperties": {}
913+
"additionalProperties": { }
937914
},
938915
"jsonapi": {
939916
"$ref": "#/components/schemas/jsonapiObject"
@@ -984,11 +961,34 @@
984961
},
985962
"meta": {
986963
"type": "object",
987-
"additionalProperties": {}
964+
"additionalProperties": { }
988965
}
989966
},
990967
"additionalProperties": false
991968
},
969+
"nullValue": {
970+
"not": {
971+
"anyOf": [
972+
{
973+
"type": "string"
974+
},
975+
{
976+
"type": "number"
977+
},
978+
{
979+
"type": "boolean"
980+
},
981+
{
982+
"type": "object"
983+
},
984+
{
985+
"type": "array"
986+
}
987+
],
988+
"items": { }
989+
},
990+
"nullable": true
991+
},
992992
"staffMemberAttributesInResponse": {
993993
"type": "object",
994994
"properties": {
@@ -1017,7 +1017,7 @@
10171017
},
10181018
"meta": {
10191019
"type": "object",
1020-
"additionalProperties": {}
1020+
"additionalProperties": { }
10211021
},
10221022
"jsonapi": {
10231023
"$ref": "#/components/schemas/jsonapiObject"
@@ -1050,7 +1050,7 @@
10501050
},
10511051
"meta": {
10521052
"type": "object",
1053-
"additionalProperties": {}
1053+
"additionalProperties": { }
10541054
}
10551055
},
10561056
"additionalProperties": false
@@ -1086,7 +1086,7 @@
10861086
},
10871087
"meta": {
10881088
"type": "object",
1089-
"additionalProperties": {}
1089+
"additionalProperties": { }
10901090
},
10911091
"jsonapi": {
10921092
"$ref": "#/components/schemas/jsonapiObject"
@@ -1109,7 +1109,7 @@
11091109
},
11101110
"meta": {
11111111
"type": "object",
1112-
"additionalProperties": {}
1112+
"additionalProperties": { }
11131113
},
11141114
"jsonapi": {
11151115
"$ref": "#/components/schemas/jsonapiObject"
@@ -1138,7 +1138,7 @@
11381138
},
11391139
"meta": {
11401140
"type": "object",
1141-
"additionalProperties": {}
1141+
"additionalProperties": { }
11421142
},
11431143
"jsonapi": {
11441144
"$ref": "#/components/schemas/jsonapiObject"
@@ -1203,7 +1203,7 @@
12031203
},
12041204
"meta": {
12051205
"type": "object",
1206-
"additionalProperties": {}
1206+
"additionalProperties": { }
12071207
},
12081208
"jsonapi": {
12091209
"$ref": "#/components/schemas/jsonapiObject"
@@ -1279,7 +1279,7 @@
12791279
},
12801280
"meta": {
12811281
"type": "object",
1282-
"additionalProperties": {}
1282+
"additionalProperties": { }
12831283
}
12841284
},
12851285
"additionalProperties": false
@@ -1320,7 +1320,7 @@
13201320
},
13211321
"meta": {
13221322
"type": "object",
1323-
"additionalProperties": {}
1323+
"additionalProperties": { }
13241324
},
13251325
"jsonapi": {
13261326
"$ref": "#/components/schemas/jsonapiObject"
@@ -1425,7 +1425,7 @@
14251425
},
14261426
"meta": {
14271427
"type": "object",
1428-
"additionalProperties": {}
1428+
"additionalProperties": { }
14291429
}
14301430
},
14311431
"additionalProperties": false
@@ -1456,11 +1456,11 @@
14561456
},
14571457
"meta": {
14581458
"type": "object",
1459-
"additionalProperties": {}
1459+
"additionalProperties": { }
14601460
}
14611461
},
14621462
"additionalProperties": false
14631463
}
14641464
}
14651465
}
1466-
}
1466+
}

0 commit comments

Comments
 (0)