Skip to content

Commit

Permalink
update swagger json file
Browse files Browse the repository at this point in the history
  • Loading branch information
trestinlsd committed Feb 19, 2025
1 parent 011c9bc commit 19bd925
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 135 deletions.
19 changes: 6 additions & 13 deletions client/docs/swagger-ui/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -21181,7 +21181,7 @@
},
"/exocore/avs/v1/avs_address/{chain}": {
"get": {
"summary": "QueryAVSAddressByChainID queries the avs address by chain id",
"summary": "Query the avs address by chain id",
"operationId": "QueryAVSAddressByChainID",
"responses": {
"200": {
Expand Down Expand Up @@ -21247,7 +21247,7 @@
},
"/exocore/avs/v1/avs_info": {
"get": {
"summary": "Parameters queries the parameters of the module.",
"summary": "Query avs info by avs address.",
"operationId": "QueryAVSInfo",
"responses": {
"200": {
Expand Down Expand Up @@ -21423,7 +21423,7 @@
"name": "avs_address",
"description": "avs_address is the address of avs.",
"in": "query",
"required": false,
"required": true,
"type": "string"
}
],
Expand Down Expand Up @@ -21622,9 +21622,9 @@
]
}
},
"/exocore/avs/v1/challenge_info/{task_address}/{task_id}/{operator_address}": {
"/exocore/avs/v1/challenge_info/{task_address}/{task_id}": {
"get": {
"summary": "Parameters queries the parameters of the module.",
"summary": "Query the challenge info by task address and task id.",
"operationId": "QueryChallengeInfo",
"responses": {
"200": {
Expand Down Expand Up @@ -21688,13 +21688,6 @@
"in": "path",
"required": true,
"type": "string"
},
{
"name": "operator_address",
"description": "operator_address is the operator address,its type should be a sdk.AccAddress",
"in": "path",
"required": true,
"type": "string"
}
],
"tags": [
Expand All @@ -21704,7 +21697,7 @@
},
"/exocore/avs/v1/submit_task_result/{task_address}/{task_id}/{operator_address}": {
"get": {
"summary": "Parameters queries the parameters of the module.",
"summary": "Submit task result for the specified task and operator.",
"operationId": "QuerySubmitTaskResult",
"responses": {
"200": {
Expand Down
4 changes: 1 addition & 3 deletions proto/exocore/avs/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ message QueryChallengeInfoReq {
string task_address = 1 [(gogoproto.customname) = "TaskAddress"];
// task_id is the task identifier
string task_id = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
// operator_address is the operator address,its type should be a sdk.AccAddress
string operator_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"];
}

// QuerySubmitTaskResultResponse is the response of avs related information
Expand Down Expand Up @@ -92,6 +90,6 @@ service Query {
}
// Parameters queries the parameters of the module.
rpc QueryChallengeInfo(QueryChallengeInfoReq) returns (QueryChallengeInfoResponse) {
option (google.api.http).get = "/exocore/avs/v1/challenge_info/{task_address}/{task_id}/{operator_address}";
option (google.api.http).get = "/exocore/avs/v1/challenge_info/{task_address}/{task_id}";
}
}
140 changes: 44 additions & 96 deletions x/avs/types/query.pb.go

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

24 changes: 1 addition & 23 deletions x/avs/types/query.pb.gw.go

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

0 comments on commit 19bd925

Please sign in to comment.