Skip to content

Commit

Permalink
Fix wrong param description of Swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
yunkon-kim committed Nov 16, 2023
1 parent ae3b177 commit 072409e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/api/rest/server/migration/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ type MigrateNetworkResponse struct {
// @Tags [Migration] Network
// @Accept json
// @Produce json
// @Param Network information body MigrateNetworkRequest true "Specify name, IPv4 CIDR block, etc."
// @Param NetworkInfo body MigrateNetworkRequest true "Specify name, IPv4 CIDR block, etc."
// @Success 200 {object} MigrateNetworkResponse "Successfully migrated network on a cloud platform"
// @Failure 404 {object} common.SimpleMsg
// @Failure 500 {object} common.SimpleMsg
Expand Down Expand Up @@ -224,7 +224,7 @@ type MigrateStorageResponse struct {
// @Tags [Migration] Storage
// @Accept json
// @Produce json
// @Param Storage information body MigrateStorageRequest true "Specify name, type, size, affiliated Network ID, and so on."
// @Param StorageInfo body MigrateStorageRequest true "Specify name, type, size, affiliated Network ID, and so on."
// @Success 200 {object} MigrateStorageResponse "Successfully migrated storage on a cloud platform"
// @Failure 404 {object} common.SimpleMsg
// @Failure 500 {object} common.SimpleMsg
Expand Down Expand Up @@ -295,7 +295,7 @@ type MigrateInstanceResponse struct {
// @Tags [Migration] Instance
// @Accept json
// @Produce json
// @Param Instance information body MigrateInstanceRequest true "Specify name, spec, OS, and so on."
// @Param InstanceInfo body MigrateInstanceRequest true "Specify name, spec, OS, and so on."
// @Success 200 {object} MigrateInstanceResponse "Successfully migrated storage on a cloud platform"
// @Failure 404 {object} common.SimpleMsg
// @Failure 500 {object} common.SimpleMsg
Expand Down

0 comments on commit 072409e

Please sign in to comment.