Skip to content

Commit c1bdda0

Browse files
committed
fixing RawDocument
1 parent 644b9f8 commit c1bdda0

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

output/schema/validation-errors.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
"Dangling type 'indices._types:StringFielddataFormat'",
7474
"Dangling type 'indices.get_sample:Request'",
7575
"Dangling type 'indices.get_sample:Response'",
76-
"Dangling type 'indices.get_sample._types:Index'",
7776
"Dangling type 'indices.get_sample._types:RawDocument'",
7877
"Dangling type 'indices.stats:ShardFielddata'",
7978
"Dangling type 'inference._types:AmazonSageMakerElasticServiceSettings'",

specification/indices/get_sample/_types/RawDocument.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
* under the License.
1818
*/
1919

20-
import { Indices } from '@_types/common'
20+
import { PropertyName } from '@_types/common'
21+
import { Property } from '@_types/mapping/Property'
22+
import { Dictionary } from '@spec_utils/Dictionary'
2123

2224
export class RawDocument {
2325
/**
@@ -27,9 +29,5 @@ export class RawDocument {
2729
/**
2830
* The original raw source.
2931
*/
30-
source: Index
31-
}
32-
33-
export class Index {
34-
index: Indices
32+
source: Dictionary<PropertyName, Property>
3533
}

0 commit comments

Comments
 (0)