Skip to content

Commit c2ca887

Browse files
authored
Remove comments from api.proto (#2305)
1 parent 8b1f4d9 commit c2ca887

File tree

6 files changed

+3
-26
lines changed

6 files changed

+3
-26
lines changed

.github/workflows/buf-validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Get Buf version
2121
id: buf-version
2222
run: |
23-
BUF_VERSION=$( go list -m -f '{{.Version}}' github.com/bufbuild/buf )
23+
BUF_VERSION=$( go list -modfile=tools/go.mod -m -f '{{.Version}}' github.com/bufbuild/buf )
2424
# remove the leading 'v' in front of the version
2525
BUF_VERSION=${BUF_VERSION#v}
2626
echo "v=$BUF_VERSION" >> "$GITHUB_OUTPUT"

pkg/http/openapi/swagger-ui/api/v1/api.swagger.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,6 @@
10631063
},
10641064
"/v1/plugins": {
10651065
"get": {
1066-
"summary": "Deprecated: use ConnectorService.ListConnectorPlugins instead.",
10671066
"operationId": "PluginService_ListPlugins",
10681067
"responses": {
10691068
"200": {
@@ -1423,7 +1422,6 @@
14231422
},
14241423
"/v1/processors/{id}/inspect-in": {
14251424
"get": {
1426-
"summary": "InspectProcessorIn streams records coming into the specified processor",
14271425
"operationId": "ProcessorService_InspectProcessorIn",
14281426
"responses": {
14291427
"200": {
@@ -1467,7 +1465,6 @@
14671465
},
14681466
"/v1/processors/{id}/inspect-out": {
14691467
"get": {
1470-
"summary": "InspectProcessorOut streams the output records from the specified processor",
14711468
"operationId": "ProcessorService_InspectProcessorOut",
14721469
"responses": {
14731470
"200": {
@@ -2126,8 +2123,7 @@
21262123
"$ref": "#/definitions/v1PluginSpecifications"
21272124
}
21282125
}
2129-
},
2130-
"description": "Deprecated: use ConnectorService.ListConnectorPlugins instead."
2126+
}
21312127
},
21322128
"v1ListProcessorPluginsResponse": {
21332129
"type": "object",

proto/api/v1/api.pb.go

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/api/v1/api.proto

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -850,15 +850,13 @@ service ProcessorService {
850850
};
851851
}
852852

853-
// InspectProcessorIn streams records coming into the specified processor
854853
rpc InspectProcessorIn(InspectProcessorInRequest) returns (stream InspectProcessorInResponse) {
855854
option (google.api.http) = {
856855
get: "/v1/processors/{id}/inspect-in"
857856
response_body: "record"
858857
};
859858
}
860859

861-
// InspectProcessorOut streams the output records from the specified processor
862860
rpc InspectProcessorOut(InspectProcessorOutRequest) returns (stream InspectProcessorOutResponse) {
863861
option (google.api.http) = {
864862
get: "/v1/processors/{id}/inspect-out"
@@ -1066,7 +1064,6 @@ message Info {
10661064

10671065
// Deprecated: use ConnectorService and ProcessorService instead.
10681066
service PluginService {
1069-
// Deprecated: use ConnectorService.ListConnectorPlugins instead.
10701067
rpc ListPlugins(ListPluginsRequest) returns (ListPluginsResponse) {
10711068
option deprecated = true;
10721069
option (google.api.http) = {
@@ -1076,14 +1073,12 @@ service PluginService {
10761073
}
10771074
}
10781075

1079-
// Deprecated: use ConnectorService.ListConnectorPlugins instead.
10801076
message ListPluginsRequest {
10811077
option deprecated = true;
10821078
// Regex to filter plugins by name.
10831079
string name = 1;
10841080
}
10851081

1086-
// Deprecated: use ConnectorService.ListConnectorPlugins instead.
10871082
message ListPluginsResponse {
10881083
option deprecated = true;
10891084
repeated PluginSpecifications plugins = 1;

proto/api/v1/api.swagger.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,6 @@
10631063
},
10641064
"/v1/plugins": {
10651065
"get": {
1066-
"summary": "Deprecated: use ConnectorService.ListConnectorPlugins instead.",
10671066
"operationId": "PluginService_ListPlugins",
10681067
"responses": {
10691068
"200": {
@@ -1423,7 +1422,6 @@
14231422
},
14241423
"/v1/processors/{id}/inspect-in": {
14251424
"get": {
1426-
"summary": "InspectProcessorIn streams records coming into the specified processor",
14271425
"operationId": "ProcessorService_InspectProcessorIn",
14281426
"responses": {
14291427
"200": {
@@ -1467,7 +1465,6 @@
14671465
},
14681466
"/v1/processors/{id}/inspect-out": {
14691467
"get": {
1470-
"summary": "InspectProcessorOut streams the output records from the specified processor",
14711468
"operationId": "ProcessorService_InspectProcessorOut",
14721469
"responses": {
14731470
"200": {
@@ -2126,8 +2123,7 @@
21262123
"$ref": "#/definitions/v1PluginSpecifications"
21272124
}
21282125
}
2129-
},
2130-
"description": "Deprecated: use ConnectorService.ListConnectorPlugins instead."
2126+
}
21312127
},
21322128
"v1ListProcessorPluginsResponse": {
21332129
"type": "object",

proto/api/v1/api_grpc.pb.go

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)