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:
Leonard Gram
2024-04-02 13:57:42 +02:00
committed by GitHub
co-authored by joshhunt
parent bc77745da6
commit 4e89267603
5 changed files with 1077 additions and 1 deletions
+5
View File
@@ -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"`
}