Skip to content

Commit 5ff19fc

Browse files
enum to string in response (#3705) (#3710)
(cherry picked from commit 8e8c3ac) Co-authored-by: Laura Trotta <[email protected]>
1 parent 0d48641 commit 5ff19fc

File tree

4 files changed

+5
-40
lines changed

4 files changed

+5
-40
lines changed

output/schema/schema-serverless.json

Lines changed: 0 additions & 13 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: 2 additions & 15 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 & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/simulate/ingest/SimulateIngestResponse.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,11 @@ export class IngestDocumentSimulation
6868
* value is larger than the allowed limit would make it through all of the pipelines, but
6969
* would not be indexed into Elasticsearch.
7070
*/
71-
ignored_fields?: Array<Dictionary<IgnoredFieldKey, string>>
71+
ignored_fields?: Array<Dictionary<string, string>>
7272
/**
7373
* Any error resulting from simulatng ingest on this doc. This can be an error generated by
7474
* executing a processor, or a mapping validation error when simulating indexing the resulting
7575
* doc.
7676
*/
7777
error?: ErrorCause
7878
}
79-
80-
/**
81-
* These are the names of the keys in a Dictionary in the ignored_fields Array.
82-
*/
83-
enum IgnoredFieldKey {
84-
field
85-
}

0 commit comments

Comments
 (0)