Skip to content

Commit

Permalink
fix: swagger title
Browse files Browse the repository at this point in the history
  • Loading branch information
FemiNoviaLina committed Sep 6, 2024
1 parent 14913ae commit 1c97c43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gotocompany/shield/v1beta1/admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ option java_package = "com.gotocompany.proton.shield.v1beta1";
// These annotations are used when generating the OpenAPI file.
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Admin",
version: "0.1.0";
title: "Shield Admin API",
version: "0.1.1";
};
schemes: HTTP;
};
Expand Down
4 changes: 2 additions & 2 deletions gotocompany/shield/v1beta1/servicedata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ option java_package = "com.gotocompany.proton.shield.v1beta1";
// These annotations are used when generating the OpenAPI file.
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Service Data",
version: "0.1.0";
title: "Shield Service Data API",
version: "0.1.1";
};
schemes: HTTP;
};
Expand Down
4 changes: 2 additions & 2 deletions gotocompany/shield/v1beta1/shield.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ option java_package = "com.gotocompany.proton.shield.v1beta1";
// These annotations are used when generating the OpenAPI file.
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Shield",
version: "0.1.0";
title: "Shield API",
version: "0.1.1";
};
schemes: HTTP;
};
Expand Down

0 comments on commit 1c97c43

Please sign in to comment.