Skip to content

Commit

Permalink
refactor variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
capoyon committed Nov 22, 2024
1 parent 7f404e8 commit 826fed3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions billing/v1/billing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -469,14 +469,14 @@ service Billing {
// Delete billing group free format item (miscellaneous)
rpc DeleteFreeFormat(DeleteFreeFormatRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1/freeformat/{id}"
delete: "/v1/freeformat/{groupId}"
};
}

// Get billing group free format item (miscellaneous)
rpc GetFreeFormat(GetFreeFormatRequest) returns (stream GetFreeFormatResponse) {
option (google.api.http) = {
get: "/v1/freeformat/{id}"
get: "/v1/freeformat/{groupId}"
};
}

Expand Down Expand Up @@ -1517,7 +1517,7 @@ message ListCustomFieldRequest {

// BillingGroup FreeFormat: Also known as miscellaneous
message CreateFreeFormatRequest {
string id = 1;
string groupId = 1;
string vendor = 2;
repeated FreeFormItem items = 3;
}
Expand All @@ -1530,12 +1530,12 @@ message FreeFormItem {
}

message DeleteFreeFormatRequest {
string id = 1;
string groupId = 1;
string vendor = 2;
}

message GetFreeFormatRequest {
string id = 1;
string groupId = 1;
}

message GetFreeFormatResponse {
Expand Down
8 changes: 4 additions & 4 deletions openapiv2/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6673,7 +6673,7 @@
},
"parameters": [
{
"name": "id",
"name": "groupId",
"in": "query",
"required": false,
"type": "string"
Expand All @@ -6690,7 +6690,7 @@
]
}
},
"/v1/freeformat/{id}": {
"/v1/freeformat/{groupId}": {
"get": {
"summary": "Get billing group free format item (miscellaneous)",
"operationId": "Billing_GetFreeFormat",
Expand Down Expand Up @@ -6719,7 +6719,7 @@
},
"parameters": [
{
"name": "id",
"name": "groupId",
"in": "path",
"required": true,
"type": "string"
Expand Down Expand Up @@ -6749,7 +6749,7 @@
},
"parameters": [
{
"name": "id",
"name": "groupId",
"in": "path",
"required": true,
"type": "string"
Expand Down

0 comments on commit 826fed3

Please sign in to comment.