diff --git a/websrc/controllers/generateHandlers.go b/websrc/controllers/generateHandlers.go index 4cf40ca..db33495 100644 --- a/websrc/controllers/generateHandlers.go +++ b/websrc/controllers/generateHandlers.go @@ -183,8 +183,8 @@ func GenerateS3PostHandler(ctx echo.Context) error { // @Tags [Test Data Generation] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData GenDataParams true "Parameters required to generate test data" -// @Param gcpCredential formData file false "Parameters required to generate test data" +// @Param RequestBody formData GenDataParams true "Parameters required to generate test data" +// @Param gcpCredential formData file false "Parameters required to generate test data" // @Success 200 {object} models.BasicResponse "Successfully generated test data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /generate/gcp [post] @@ -483,8 +483,8 @@ func GenerateDynamoDBPostHandler(ctx echo.Context) error { // @Tags [Test Data Generation] // @Accept multipart/form-data // @Produce json -// @Param GenFirestoreParams formData GenFirestoreParams true "Parameters required to generate test data" -// @Param gcpCredential formData file false "Parameters required to generate test data" +// @Param GenFirestoreParams formData GenFirestoreParams true "Parameters required to generate test data" +// @Param gcpCredential formData file false "Parameters required to generate test data" // @Success 200 {object} models.BasicResponse "Successfully generated test data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /generate/firestore [post] diff --git a/websrc/controllers/migrationGCPHandlers.go b/websrc/controllers/migrationGCPHandlers.go index 5d97cec..6146585 100644 --- a/websrc/controllers/migrationGCPHandlers.go +++ b/websrc/controllers/migrationGCPHandlers.go @@ -31,8 +31,8 @@ import ( // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData MigrationForm true "Parameters required for migration" -// @Param gcpCredential formData file false "Parameters required for migration" +// @Param RequestBody formData MigrationForm true "Parameters required for migration" +// @Param gcpCredential formData file false "Parameters required for migration" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 400 {object} models.BasicResponse "Invalid Request" // @Failure 500 {object} models.BasicResponse "Internal Server Error" @@ -97,8 +97,8 @@ func MigrationGCPToLinuxPostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData MigrationForm true "Parameters required for migration" -// @Param gcpCredential formData file false "Parameters required for migration" +// @Param RequestBody formData MigrationForm true "Parameters required for migration" +// @Param gcpCredential formData file false "Parameters required for migration" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 400 {object} models.BasicResponse "Invalid Request" // @Failure 500 {object} models.BasicResponse "Internal Server Error" @@ -163,8 +163,8 @@ func MigrationGCPToWindowsPostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData MigrationForm true "Parameters required for migration" -// @Param gcpCredential formData file false "Parameters required for migration" +// @Param RequestBody formData MigrationForm true "Parameters required for migration" +// @Param gcpCredential formData file false "Parameters required for migration" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/gcp/s3 [post] @@ -234,8 +234,8 @@ func MigrationGCPToS3PostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData MigrationForm true "Parameters required for migration" -// @Param gcpCredential formData file false "Parameters required for migration" +// @Param RequestBody formData MigrationForm true "Parameters required for migration" +// @Param gcpCredential formData file false "Parameters required for migration" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/gcp/ncp [post] diff --git a/websrc/controllers/migrationHandlers.go b/websrc/controllers/migrationHandlers.go index 6961292..ece5272 100644 --- a/websrc/controllers/migrationHandlers.go +++ b/websrc/controllers/migrationHandlers.go @@ -86,8 +86,8 @@ func MigrationLinuxToS3PostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData MigrationForm true "Parameters required for migration" -// @Param gcpCredential formData file false "Parameters required for migration" +// @Param RequestBody formData MigrationForm true "Parameters required for migration" +// @Param gcpCredential formData file false "Parameters required for migration" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 400 {object} models.BasicResponse "Invalid Request" // @Failure 500 {object} models.BasicResponse "Internal Server Error" @@ -273,8 +273,8 @@ func MigrationWindowsToS3PostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData MigrationForm true "Parameters required for migration" -// @Param gcpCredential formData file false "Parameters required for migration" +// @Param RequestBody formData MigrationForm true "Parameters required for migration" +// @Param gcpCredential formData file false "Parameters required for migration" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 400 {object} models.BasicResponse "Invalid Request" // @Failure 500 {object} models.BasicResponse "Internal Server Error" diff --git a/websrc/controllers/migrationNCPHandlers.go b/websrc/controllers/migrationNCPHandlers.go index 699bf75..83c0e3b 100644 --- a/websrc/controllers/migrationNCPHandlers.go +++ b/websrc/controllers/migrationNCPHandlers.go @@ -204,8 +204,8 @@ func MigrationNCPToS3PostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData MigrationForm true "Parameters required for migration" -// @Param gcpCredential formData file true "Parameters required to generate test data" +// @Param RequestBody formData MigrationForm true "Parameters required for migration" +// @Param gcpCredential formData file false "Parameters required to generate test data" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/ncp/gcp [post] diff --git a/websrc/controllers/migrationNoSqlHandlers.go b/websrc/controllers/migrationNoSqlHandlers.go index 7e44508..084ed2e 100644 --- a/websrc/controllers/migrationNoSqlHandlers.go +++ b/websrc/controllers/migrationNoSqlHandlers.go @@ -30,9 +30,9 @@ import ( // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param AWSMigrationParams formData AWSMigrationParams true "Parameters required for Linux migration" -// @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" -// @Param gcpCredential formData file true "Parameters required to generate test data" +// @Param AWSMigrationParams formData AWSMigrationParams true "Parameters required for Linux migration" +// @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" +// @Param gcpCredential formData file false "Parameters required to generate test data" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/dynamodb/firestore [post] @@ -100,8 +100,8 @@ func MigrationDynamoDBToFirestorePostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept json // @Produce json -// @Param AWSMigrationParams body AWSMigrationParams true "Parameters required for AWS migration" -// @Param MongoMigrationParams body MongoMigrationParams true "Parameters required for NCP migration" +// @Param AWSMigrationParams body AWSMigrationParams true "Parameters required for AWS migration" +// @Param MongoMigrationParams body MongoMigrationParams true "Parameters required for NCP migration" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/dynamodb/mongodb [post] @@ -159,9 +159,9 @@ func MigrationDynamoDBToMongoDBPostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" -// @Param AWSMigrationParams formData AWSMigrationParams true "Parameters required for AWS migration" -// @Param gcpCredential formData file true "Parameters required to generate test data" +// @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" +// @Param AWSMigrationParams formData AWSMigrationParams true "Parameters required for AWS migration" +// @Param gcpCredential formData file false "Parameters required to generate test data" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/firestore/dynamodb [post] @@ -229,9 +229,9 @@ func MigrationFirestoreToDynamoDBPostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" -// @Param MongoMigrationParams formData MongoMigrationParams true "Parameters required for NCP migration" -// @Param gcpCredential formData file true "Parameters required to generate test data" +// @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" +// @Param MongoMigrationParams formData MongoMigrationParams true "Parameters required for NCP migration" +// @Param gcpCredential formData file false "Parameters required to generate test data" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/firestore/mongodb [post] @@ -359,9 +359,9 @@ func MigrationMongoDBToDynamoDBPostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param MongoMigrationParams formData MongoMigrationParams true "Parameters required for NCP migration" -// @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" -// @Param gcpCredential formData file true "Parameters required to generate test data" +// @Param MongoMigrationParams formData MongoMigrationParams true "Parameters required for NCP migration" +// @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" +// @Param gcpCredential formData file false "Parameters required to generate test data" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/mongodb/firestore [post] diff --git a/websrc/controllers/migrationS3Handlers.go b/websrc/controllers/migrationS3Handlers.go index 4efcd2a..63c5002 100644 --- a/websrc/controllers/migrationS3Handlers.go +++ b/websrc/controllers/migrationS3Handlers.go @@ -140,8 +140,8 @@ func MigrationS3ToWindowsPostHandler(ctx echo.Context) error { // @Tags [Data Migration] // @Accept multipart/form-data // @Produce json -// @Param RequestBody formData MigrationForm true "Parameters required for migration" -// @Param gcpCredential formData file true "Parameters required to generate test data" +// @Param RequestBody formData MigrationForm true "Parameters required for migration" +// @Param gcpCredential formData file false "Parameters required to generate test data" // @Success 200 {object} models.BasicResponse "Successfully migrated data" // @Failure 500 {object} models.BasicResponse "Internal Server Error" // @Router /migration/s3/gcp [post] diff --git a/websrc/controllers/migrationStructs.go b/websrc/controllers/migrationStructs.go index 312d752..6600419 100644 --- a/websrc/controllers/migrationStructs.go +++ b/websrc/controllers/migrationStructs.go @@ -31,7 +31,7 @@ type MigrationForm struct { DatabaseID string `json:"databaseId" form:"databaseId"` GCPRegion string `form:"gcpRegion" json:"gcpRegion"` GCPBucket string `form:"gcpBucket" json:"gcpBucket"` - GCPCredentialJson string `form:"gcpCredentialJson" json:"gcpCredentialJson" swaggerignore:"true"` + GCPCredentialJson string `form:"gcpCredentialJson" json:"gcpCredentialJson"` GCPCredential *multipart.FileHeader `form:"gcpCredential" json:"-" swaggerignore:"true"` NCPRegion string `form:"ncpRegion" json:"ncpRegion"` @@ -63,7 +63,7 @@ type GCPMigrationParams struct { DatabaseID string `json:"databaseId" form:"databaseId"` GCPRegion string `form:"gcpRegion" json:"gcpRegion"` GCPBucket string `form:"gcpBucket" json:"gcpBucket"` - GCPCredentialJson string `form:"gcpCredentialJson" json:"gcpCredentialJson" swaggerignore:"true"` + GCPCredentialJson string `form:"gcpCredentialJson" json:"gcpCredentialJson"` GCPCredential *multipart.FileHeader `form:"gcpCredential" json:"-" swaggerignore:"true"` } diff --git a/websrc/docs/docs.go b/websrc/docs/docs.go index fa5f8d1..4874f0b 100644 --- a/websrc/docs/docs.go +++ b/websrc/docs/docs.go @@ -628,6 +628,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -642,8 +647,7 @@ const docTemplate = `{ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -735,6 +739,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -769,8 +778,7 @@ const docTemplate = `{ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -813,6 +821,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -852,8 +865,7 @@ const docTemplate = `{ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -921,6 +933,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1059,6 +1076,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1191,6 +1213,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1323,6 +1350,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1461,6 +1493,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1767,6 +1804,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1781,8 +1823,7 @@ const docTemplate = `{ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -1890,6 +1931,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1954,8 +2000,7 @@ const docTemplate = `{ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -2164,6 +2209,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -2228,8 +2278,7 @@ const docTemplate = `{ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -2429,6 +2478,11 @@ const docTemplate = `{ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -2795,6 +2849,9 @@ const docTemplate = `{ "gcpBucket": { "type": "string" }, + "gcpCredentialJson": { + "type": "string" + }, "gcpRegion": { "type": "string" }, diff --git a/websrc/docs/swagger.json b/websrc/docs/swagger.json index 6ed954f..5309942 100644 --- a/websrc/docs/swagger.json +++ b/websrc/docs/swagger.json @@ -621,6 +621,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -635,8 +640,7 @@ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -728,6 +732,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -762,8 +771,7 @@ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -806,6 +814,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -845,8 +858,7 @@ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -914,6 +926,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1052,6 +1069,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1184,6 +1206,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1316,6 +1343,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1454,6 +1486,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1760,6 +1797,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1774,8 +1816,7 @@ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -1883,6 +1924,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -1947,8 +1993,7 @@ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -2157,6 +2202,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -2221,8 +2271,7 @@ "type": "file", "description": "Parameters required to generate test data", "name": "gcpCredential", - "in": "formData", - "required": true + "in": "formData" } ], "responses": { @@ -2422,6 +2471,11 @@ "name": "gcpBucket", "in": "formData" }, + { + "type": "string", + "name": "gcpCredentialJson", + "in": "formData" + }, { "type": "string", "name": "gcpRegion", @@ -2788,6 +2842,9 @@ "gcpBucket": { "type": "string" }, + "gcpCredentialJson": { + "type": "string" + }, "gcpRegion": { "type": "string" }, diff --git a/websrc/docs/swagger.yaml b/websrc/docs/swagger.yaml index 3d655d2..56ad40b 100644 --- a/websrc/docs/swagger.yaml +++ b/websrc/docs/swagger.yaml @@ -122,6 +122,8 @@ definitions: type: string gcpBucket: type: string + gcpCredentialJson: + type: string gcpRegion: type: string host: @@ -598,6 +600,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -607,7 +612,6 @@ paths: - description: Parameters required to generate test data in: formData name: gcpCredential - required: true type: file produces: - application/json @@ -667,6 +671,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -688,7 +695,6 @@ paths: - description: Parameters required to generate test data in: formData name: gcpCredential - required: true type: file produces: - application/json @@ -716,6 +722,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -740,7 +749,6 @@ paths: - description: Parameters required to generate test data in: formData name: gcpCredential - required: true type: file produces: - application/json @@ -783,6 +791,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -868,6 +879,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -949,6 +963,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -1030,6 +1047,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -1115,6 +1135,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -1307,6 +1330,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -1316,7 +1342,6 @@ paths: - description: Parameters required to generate test data in: formData name: gcpCredential - required: true type: file produces: - application/json @@ -1385,6 +1410,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -1424,7 +1452,6 @@ paths: - description: Parameters required to generate test data in: formData name: gcpCredential - required: true type: file produces: - application/json @@ -1559,6 +1586,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string @@ -1598,7 +1628,6 @@ paths: - description: Parameters required to generate test data in: formData name: gcpCredential - required: true type: file produces: - application/json @@ -1727,6 +1756,9 @@ paths: - in: formData name: gcpBucket type: string + - in: formData + name: gcpCredentialJson + type: string - in: formData name: gcpRegion type: string