Skip to content

Commit 0895180

Browse files
github-actions[bot]pquentinl-trotta
authored
Add reason to migration.post_feature_upgrade APi (#4233) (#4365)
(cherry picked from commit 7a7e2a2) Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co> Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
1 parent 7e84a60 commit 0895180

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 14 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/migration/post_feature_upgrade/PostFeatureUpgradeResponse.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
export class Response {
2121
body: {
2222
accepted: boolean
23-
features: MigrationFeature[]
23+
features?: MigrationFeature[]
24+
reason?: string
2425
}
2526
}
2627

0 commit comments

Comments
 (0)