Skip to content

Commit

Permalink
clearer without the intermediate type (#2576)
Browse files Browse the repository at this point in the history
  • Loading branch information
severo authored Mar 12, 2024
1 parent c2ac705 commit eec8dad
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions docs/source/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1101,9 +1101,6 @@
}
}
},
"NullableNumber": {
"oneOf": [{ "type": "number" }, { "type": "null" }]
},
"NumericalStatisticsItem": {
"type": "object",
"required": [
Expand All @@ -1123,11 +1120,11 @@
"nan_proportion": {
"type": "number"
},
"min": { "$ref": "#/components/schemas/NullableNumber" },
"max": { "$ref": "#/components/schemas/NullableNumber" },
"mean": { "$ref": "#/components/schemas/NullableNumber" },
"median": { "$ref": "#/components/schemas/NullableNumber" },
"std": { "$ref": "#/components/schemas/NullableNumber" },
"min": { "oneOf": [{ "type": "number" }, { "type": "null" }] },
"max": { "oneOf": [{ "type": "number" }, { "type": "null" }] },
"mean": { "oneOf": [{ "type": "number" }, { "type": "null" }] },
"median": { "oneOf": [{ "type": "number" }, { "type": "null" }] },
"std": { "oneOf": [{ "type": "number" }, { "type": "null" }] },
"histogram": { "oneOf": [{ "$ref": "#/components/schemas/Histogram" }, { "type": "null" }] }
}
},
Expand Down

0 comments on commit eec8dad

Please sign in to comment.