Skip to content

Commit 6c61da6

Browse files
committed
adjust buildscript
1 parent 79f79dc commit 6c61da6

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Build.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,11 @@ function CreateNuGetPackage {
8585

8686
if ([string]::IsNullOrWhitespace($versionSuffix)) {
8787
dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts
88+
dotnet pack .\src\JsonApiDotNetCore.OpenApi -c Release -o .\artifacts
8889
}
8990
else {
9091
dotnet pack .\src\JsonApiDotNetCore -c Release -o .\artifacts --version-suffix=$versionSuffix
92+
dotnet pack .\src\JsonApiDotNetCore.OpenApi -c Release -o .\artifacts --version-suffix=$versionSuffix
9193
}
9294

9395
CheckLastExitCode

test/OpenApiTests/swagger.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -366,13 +366,13 @@
366366
"requestBody": {
367367
"content": {
368368
"application/json": {
369-
"schema": { }
369+
"schema": {}
370370
},
371371
"text/json": {
372-
"schema": { }
372+
"schema": {}
373373
},
374374
"application/*+json": {
375-
"schema": { }
375+
"schema": {}
376376
}
377377
}
378378
},
@@ -804,13 +804,13 @@
804804
"requestBody": {
805805
"content": {
806806
"application/json": {
807-
"schema": { }
807+
"schema": {}
808808
},
809809
"text/json": {
810-
"schema": { }
810+
"schema": {}
811811
},
812812
"application/*+json": {
813-
"schema": { }
813+
"schema": {}
814814
}
815815
}
816816
},

0 commit comments

Comments
 (0)