E2C: Fix Swagger spec for createMigration post body (#85525)

* E2C: Fix Swagger spec for CreateCloudMigration post body

* actually, don't rename that type
This commit is contained in:
Josh Hunt
2024-04-03 12:59:50 +01:00
committed by GitHub
parent b885da09da
commit e08b5bd456
4 changed files with 60 additions and 39 deletions

View File

@@ -3532,6 +3532,14 @@
},
"type": "object"
},
"CloudMigrationRequest": {
"properties": {
"authToken": {
"type": "string"
}
},
"type": "object"
},
"CloudMigrationResponse": {
"properties": {
"created": {
@@ -14799,15 +14807,17 @@
},
"post": {
"operationId": "createMigration",
"parameters": [
{
"in": "query",
"name": "authToken",
"schema": {
"type": "string"
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CloudMigrationRequest"
}
}
}
],
},
"required": true,
"x-originalParamName": "body"
},
"responses": {
"200": {
"$ref": "#/components/responses/cloudMigrationResponse"