Cloudmigration: swagger for the cloudmigration api (#85255)
* swagger for create token * tried to fix errors * update swagger annotations * update swagger annotations * update api GetMigrationList to return the *Response directly * clean up previous commit --------- Co-authored-by: joshhunt <josh@trtr.co>
This commit is contained in:
@@ -50,6 +50,11 @@ type CloudMigrationRun struct {
|
||||
Finished time.Time `json:"finished"`
|
||||
}
|
||||
|
||||
type CloudMigrationRunList struct {
|
||||
Runs []CloudMigrationRun `json:"runs"`
|
||||
}
|
||||
|
||||
// swagger:parameters createMigration
|
||||
type CloudMigrationRequest struct {
|
||||
AuthToken string `json:"authToken"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user