Skip to content

Commit c3b11d0

Browse files
Move generic array to root of response body (#2088) (#2090)
Co-authored-by: Laurent Saint-Félix <[email protected]>
1 parent 18d160a commit c3b11d0

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed

output/schema/schema.json

Lines changed: 9 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: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/preview_datafeed/MlPreviewDatafeedResponse.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,5 @@
1818
*/
1919

2020
export class Response<TDocument> {
21-
body: {
22-
data: TDocument[]
23-
}
21+
body: Array<TDocument>
2422
}

0 commit comments

Comments
 (0)