Skip to content

Commit

Permalink
Merge pull request etcd-io#16490 from fuweid/bp-16464
Browse files Browse the repository at this point in the history
[3.5] api: fix duplicate gateway url issue
  • Loading branch information
ahrtr committed Aug 30, 2023
2 parents 9e0e491 + ad5a6ea commit 182e352
Show file tree
Hide file tree
Showing 6 changed files with 322 additions and 261 deletions.
33 changes: 33 additions & 0 deletions Documentation/dev-guide/apispec/swagger/rpc.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,39 @@
}
},
"/v3/maintenance/hash": {
"post": {
"tags": [
"Maintenance"
],
"summary": "Hash computes the hash of whole backend keyspace,\nincluding key, lease, and other buckets in storage.\nThis is designed for testing ONLY!\nDo not rely on this in production with ongoing transactions,\nsince Hash operation does not hold MVCC locks.\nUse \"HashKV\" API instead for \"key\" bucket consistency checks.",
"operationId": "Maintenance_Hash",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/etcdserverpbHashRequest"
}
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/etcdserverpbHashResponse"
}
},
"default": {
"description": "An unexpected error response",
"schema": {
"$ref": "#/definitions/runtimeError"
}
}
}
}
},
"/v3/maintenance/hashkv": {
"post": {
"tags": [
"Maintenance"
Expand Down
2 changes: 1 addition & 1 deletion api/etcdserverpb/gw/rpc.pb.gw.go

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

Loading

0 comments on commit 182e352

Please sign in to comment.