Skip to content

Commit d1a1bac

Browse files
committed
Re-added default values into the schema.
Signed-off-by: dblock <[email protected]>
1 parent 50c3258 commit d1a1bac

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1414

1515
### Fixed
1616
- Spec passes OpenAPI 3.1.0 validations ([#646](https://github.com/opensearch-project/opensearch-api-specification/pull/646))
17-
- Global parameters no longer contain invalid `default` ([#646](https://github.com/opensearch-project/opensearch-api-specification/pull/646))
18-
- Invalid values of `schema: null` are replaced with `schema: false` ([#646](https://github.com/opensearch-project/opensearch-api-specification/pull/646))
19-
- Key names containing invalid `@` and `:` are renamed to `.` and `_` respectively on merge ([#646](https://github.com/opensearch-project/opensearch-api-specification/pull/646))
17+
- Key names containing invalid `::`, `@`, and `:` are renamed to `___`, `__`, and `_` respectively on merge ([#646](https://github.com/opensearch-project/opensearch-api-specification/pull/646))
2018
- Added missing `required` to `path` parameters ([#646](https://github.com/opensearch-project/opensearch-api-specification/pull/646))
2119
- Added missing `schema` parent to response types ([#646](https://github.com/opensearch-project/opensearch-api-specification/pull/646))
2220
- Removed invalid `externalDocs` from `flow_framework.create/update::query.use_case` ([#646](https://github.com/opensearch-project/opensearch-api-specification/pull/646))

spec/_global_parameters.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@ components:
1010
description: Whether to pretty format the returned JSON response.
1111
schema:
1212
type: boolean
13+
default: false
1314
human:
1415
name: human
1516
in: query
1617
description: Whether to return human readable values for statistics.
1718
schema:
1819
type: boolean
20+
default: true
1921
error_trace:
2022
name: error_trace
2123
in: query
2224
description: Whether to include the stack trace of returned errors.
2325
schema:
2426
type: boolean
27+
default: false
2528
source:
2629
name: source
2730
in: query

0 commit comments

Comments
 (0)