Skip to content

Commit

Permalink
Merge pull request etcd-io#16464 from fuweid/fix-grpc-gateway-duplica…
Browse files Browse the repository at this point in the history
…te-path

api: fix duplicate gateway url issue
  • Loading branch information
ahrtr authored Aug 27, 2023
2 parents b6935cf + f3121fb commit d09b8d4
Show file tree
Hide file tree
Showing 4 changed files with 316 additions and 283 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": {
"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",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/etcdserverpbHashResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/runtimeError"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/etcdserverpbHashRequest"
}
}
],
"tags": [
"Maintenance"
]
}
},
"/v3/maintenance/hashkv": {
"post": {
"summary": "HashKV computes the hash of all MVCC keys up to a given revision.\nIt only iterates \"key\" bucket in backend storage.",
"operationId": "Maintenance_HashKV",
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 d09b8d4

Please sign in to comment.