Skip to content

Commit

Permalink
switch protoc_gen_swagger to protoc_gen_openapiv2
Browse files Browse the repository at this point in the history
  • Loading branch information
idoqo committed Feb 24, 2022
1 parent 6a212d5 commit b81ba5a
Show file tree
Hide file tree
Showing 15 changed files with 535 additions and 1,169 deletions.
174 changes: 87 additions & 87 deletions api/managementpb/ia/alerts.pb.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions api/managementpb/ia/alerts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package ia.v1beta1;

option go_package = "api/managementpb/ia;iav1beta1";

import "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options/annotations.proto";
import "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options/annotations.proto";
import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
import "managementpb/ia/boolean_flag.proto";
Expand Down Expand Up @@ -71,7 +71,7 @@ service Alerts {
post: "/v1/management/ia/Alerts/Toggle"
body: "*"
};
option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
description: "Pass empty list to apply toggle action to all existing alerts"
};
}
Expand Down
2 changes: 1 addition & 1 deletion api/managementpb/ia/alerts.validator.pb.go

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

108 changes: 2 additions & 106 deletions api/managementpb/ia/json/client/alerts/list_alerts_responses.go

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

108 changes: 2 additions & 106 deletions api/managementpb/ia/json/client/channels/add_channel_responses.go

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

108 changes: 2 additions & 106 deletions api/managementpb/ia/json/client/rules/create_alert_rule_responses.go

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

Loading

0 comments on commit b81ba5a

Please sign in to comment.