Skip to content

Commit

Permalink
Fix migrate.create_from YAML tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Jan 15, 2025
1 parent 4c81332 commit b2f3bbd
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 17 deletions.
31 changes: 29 additions & 2 deletions output/openapi/elasticsearch-openapi.json

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

80 changes: 71 additions & 9 deletions output/schema/schema.json

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

13 changes: 11 additions & 2 deletions output/typescript/types.ts

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

4 changes: 2 additions & 2 deletions specification/migrate/create_from/MigrateCreateFromRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { RequestBase } from '@_types/Base'
import { MigrateReindex } from '../_types/MigrateReindex'
import { CreateFrom } from '../_types/CreateFrom'

/**
* This API creates a destination from a source index. It copies the mappings and settings from the source index while allowing request settings and mappings to override the source values.
Expand All @@ -37,5 +37,5 @@ export interface Request extends RequestBase {
dest: string
}
/** @codegen_name create_from */
body: MigrateReindex
body: CreateFrom
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@
* under the License.
*/

import { AcknowledgedResponseBase } from '@_types/Base'
import { IndexName } from '@_types/common'

export class Response {
body: AcknowledgedResponseBase
body: {
acknowledged: boolean
index: IndexName
shards_acknowledged: boolean
}
}

0 comments on commit b2f3bbd

Please sign in to comment.