Skip to content

Commit

Permalink
Specify charset returned from OpenSearch.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed May 8, 2024
1 parent 909b02d commit 3c7ac79
Show file tree
Hide file tree
Showing 17 changed files with 296 additions and 296 deletions.
132 changes: 66 additions & 66 deletions spec/namespaces/_core.yaml

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions spec/namespaces/cat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ components:
requestBodies:
cat.pit_segments:
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -792,23 +792,23 @@ components:
cat.aliases@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.aliases.yaml#/components/schemas/AliasesRecord'
cat.all_pit_segments@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat._common.yaml#/components/schemas/CatPitSegmentsRecord'
cat.allocation@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
Expand All @@ -818,159 +818,159 @@ components:
cat.count@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.count.yaml#/components/schemas/CountRecord'
cat.fielddata@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.fielddata.yaml#/components/schemas/FielddataRecord'
cat.health@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.health.yaml#/components/schemas/HealthRecord'
cat.help@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.help.yaml#/components/schemas/HelpRecord'
cat.indices@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.indices.yaml#/components/schemas/IndicesRecord'
cat.master@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.master.yaml#/components/schemas/MasterRecord'
cat.nodeattrs@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.nodeattrs.yaml#/components/schemas/NodeAttributesRecord'
cat.nodes@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.nodes.yaml#/components/schemas/NodesRecord'
cat.pending_tasks@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.pending_tasks.yaml#/components/schemas/PendingTasksRecord'
cat.pit_segments@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat._common.yaml#/components/schemas/CatPitSegmentsRecord'
cat.plugins@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.plugins.yaml#/components/schemas/PluginsRecord'
cat.recovery@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.recovery.yaml#/components/schemas/RecoveryRecord'
cat.repositories@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.repositories.yaml#/components/schemas/RepositoriesRecord'
cat.segment_replication@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat._common.yaml#/components/schemas/CatSegmentReplicationRecord'
cat.segments@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.segments.yaml#/components/schemas/SegmentsRecord'
cat.shards@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.shards.yaml#/components/schemas/ShardsRecord'
cat.snapshots@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.snapshots.yaml#/components/schemas/SnapshotsRecord'
cat.tasks@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.tasks.yaml#/components/schemas/TasksRecord'
cat.templates@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
$ref: '../schemas/cat.templates.yaml#/components/schemas/TemplatesRecord'
cat.thread_pool@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: array
items:
Expand Down
38 changes: 19 additions & 19 deletions spec/namespaces/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ components:
requestBodies:
cluster.allocation_explain:
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -485,7 +485,7 @@ components:
description: The index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard'
cluster.put_component_template:
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -508,7 +508,7 @@ components:
required: true
cluster.put_settings:
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -524,7 +524,7 @@ components:
required: true
cluster.reroute:
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -538,7 +538,7 @@ components:
cluster.allocation_explain@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand Down Expand Up @@ -606,25 +606,25 @@ components:
cluster.delete_component_template@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
$ref: '../schemas/_common.yaml#/components/schemas/AcknowledgedResponseBase'
cluster.delete_decommission_awareness@200:
description: ''
cluster.delete_voting_config_exclusions@200:
description: ''
content:
application/json: {}
application/json; charset=UTF-8: {}
cluster.delete_weighted_routing@200:
description: ''
cluster.exists_component_template@200:
description: ''
content:
application/json: {}
application/json; charset=UTF-8: {}
cluster.get_component_template@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -639,7 +639,7 @@ components:
cluster.get_settings@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -663,13 +663,13 @@ components:
cluster.health@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
$ref: '../schemas/cluster.health.yaml#/components/schemas/HealthResponseBody'
cluster.pending_tasks@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -682,19 +682,19 @@ components:
cluster.post_voting_config_exclusions@200:
description: ''
content:
application/json: {}
application/json; charset=UTF-8: {}
cluster.put_component_template@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
$ref: '../schemas/_common.yaml#/components/schemas/AcknowledgedResponseBase'
cluster.put_decommission_awareness@200:
description: ''
cluster.put_settings@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -717,15 +717,15 @@ components:
cluster.remote_info@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
additionalProperties:
$ref: '../schemas/cluster.remote_info.yaml#/components/schemas/ClusterRemoteInfo'
cluster.reroute@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand All @@ -746,13 +746,13 @@ components:
cluster.state@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
cluster.stats@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
$ref: '../schemas/cluster.stats.yaml#/components/schemas/StatsResponseBase'
parameters:
Expand Down
6 changes: 3 additions & 3 deletions spec/namespaces/dangling_indices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ components:
dangling_indices.delete_dangling_index@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
$ref: '../schemas/_common.yaml#/components/schemas/AcknowledgedResponseBase'
dangling_indices.import_dangling_index@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
$ref: '../schemas/_common.yaml#/components/schemas/AcknowledgedResponseBase'
dangling_indices.list_dangling_indices@200:
description: ''
content:
application/json:
application/json; charset=UTF-8:
schema:
type: object
properties:
Expand Down
Loading

0 comments on commit 3c7ac79

Please sign in to comment.