Skip to content

Commit

Permalink
remove redundant fields
Browse files Browse the repository at this point in the history
  • Loading branch information
MFori committed Dec 18, 2024
1 parent a8237f4 commit 060b245
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ type: object
properties:
data:
type: object
required:
- fields
- statistics
properties:
fields:
type: array
items:
type: string
description: 'Keys of the fields for which the statistics are provided.'
statistics:
type: object
additionalProperties:
$ref: ./DatasetFieldStatistics.yaml
description: 'Statistics for each field. The keys are the same as in the `fields` array.'
additionalProperties:
$ref: ./DatasetFieldStatistics.yaml
description: 'Statistics for each field from fields dataset schema.'
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,11 @@ get:
$ref: "../../components/schemas/datasets/GetDatasetFieldStatisticsResponse.yaml"
example:
data:
fields: ["name", "price"]
statistics: {
name: {
nullCount: 122
},
price: {
min: 59,
max: 89
}
}
name:
nullCount: 122
price:
min: 59
max: 89
# TODO: add clients methods
# x-js-parent: DatasetClient
# x-js-name: fieldStatistics
Expand Down

0 comments on commit 060b245

Please sign in to comment.