Skip to content

Commit 6aac177

Browse files
committed
Modified OpenAPI build to ensure default values in message objects are serialized, since the default values do not always match with those in the DRES server message objects.
1 parent 06e82b7 commit 6aac177

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

-512 Bytes
Binary file not shown.

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ openApiGenerate {
2323
inputSpec = dresOAS
2424
outputDir = "$rootDir/Generated"
2525
packageName = "Org.Vitrivr.DresApi"
26+
configOptions = [
27+
optionalEmitDefaultValues: "true"
28+
]
2629
}
2730

2831
/* Customized clean task to delete OpenAPI generated*/

0 commit comments

Comments
 (0)