Skip to content

Commit

Permalink
feat: update codegen to include legacy backup/restore routes (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
danxmoran authored Jul 8, 2021
1 parent 3ca681b commit 4452aac
Show file tree
Hide file tree
Showing 6 changed files with 399 additions and 1 deletion.
136 changes: 136 additions & 0 deletions api/api_backup.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

192 changes: 192 additions & 0 deletions api/api_restore.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions api/contract/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ paths:
$ref: "./openapi/src/common/paths/tasks_taskID_logs.yml"
/tasks/{taskID}/runs/{runID}/logs:
$ref: "./openapi/src/common/paths/tasks_taskID_runs_runID_logs.yml"
/backup/kv:
$ref: "./openapi/src/oss/paths/backup_kv.yml"
/backup/metadata:
$ref: "./overrides/paths/backup_metadata.yml"
/backup/shards/{shardID}:
Expand All @@ -65,6 +67,8 @@ paths:
$ref: "./openapi/src/oss/paths/restore_kv.yml"
/restore/sql:
$ref: "./openapi/src/oss/paths/restore_sql.yml"
/restore/bucket/{bucketID}:
$ref: "./openapi/src/oss/paths/restore_bucket_bucketID.yml"
/restore/bucket-metadata:
$ref: "./openapi/src/oss/paths/restore_bucket-metadata.yml"
/restore/shards/{shardID}:
Expand Down
Loading

0 comments on commit 4452aac

Please sign in to comment.