diff --git a/api/deployments/models/scheduled_batch.go b/api/deployments/models/scheduled_batch.go index b9478d88..e27bbdfd 100644 --- a/api/deployments/models/scheduled_batch.go +++ b/api/deployments/models/scheduled_batch.go @@ -109,7 +109,7 @@ type ScheduledBatchSummary struct { // Defines a user defined ID of the batch. // // required: false - BatchId string + BatchId string `json:"batchId,omitempty"` // Created timestamp // diff --git a/swaggerui/html/swagger.json b/swaggerui/html/swagger.json index 671faecd..52325b6a 100644 --- a/swaggerui/html/swagger.json +++ b/swaggerui/html/swagger.json @@ -7465,9 +7465,10 @@ "deploymentName" ], "properties": { - "BatchId": { + "batchId": { "description": "Defines a user defined ID of the batch.", - "type": "string" + "type": "string", + "x-go-name": "BatchId" }, "created": { "description": "Created timestamp",