Skip to content

Commit

Permalink
feat(swagger): scylla_v2, add /config/consistent_cluster_management e…
Browse files Browse the repository at this point in the history
…ndpoint

This endpoint returns 'consistent_cluster_management' option from scylla.yaml.
  • Loading branch information
Michal-Leszczynski authored and karol-kokoszka committed Feb 22, 2024
1 parent 149d41f commit 2825354
Show file tree
Hide file tree
Showing 4 changed files with 289 additions and 0 deletions.
35 changes: 35 additions & 0 deletions swagger/gen/scylla/v2/client/config/config_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions swagger/scylla_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4983,6 +4983,33 @@
}
}
},
"/config/consistent_cluster_management": {
"get": {
"description": "Return true if node uses RAFT for cluster management and DDL.",
"operationId": "find_config_consistent_cluster_management",
"produces": [
"application/json"
],
"tags": [
"config"
],
"parameters": [],
"responses": {
"200": {
"description": "Config value",
"schema": {
"type": "boolean"
}
},
"default": {
"description": "unexpected error",
"schema": {
"$ref": "#/definitions/ErrorModel"
}
}
}
}
},
"/config/alternator_enforce_authorization": {
"get": {
"description": "Whether alternator requires authorization",
Expand Down

0 comments on commit 2825354

Please sign in to comment.