github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/proto/examplepb/remove_internal_comment.proto (about) 1 syntax = "proto3"; 2 3 package grpc.gateway.examples.internal.proto.examplepb; 4 5 import "google/api/annotations.proto"; 6 7 option go_package = "github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/proto/examplepb"; 8 9 // Foo2Service (-- This comment should be excluded from OpenAPI output --) 10 service Foo2Service { 11 // Foo Summary (-- This comment should be excluded from OpenAPI output --) 12 // 13 // (-- This comment should be excluded from OpenAPI output --) 14 // Description 15 rpc Foo2(Foo2Request) returns (Foo2Reply) { 16 option (google.api.http) = { 17 post: "/v1/example/foo" 18 body: "*" 19 }; 20 } 21 } 22 23 // Foo2Request (-- This comment should be excluded from OpenAPI output --) 24 message Foo2Request { 25 // Username. 26 // (-- This comment should be excluded 27 // from OpenAPI output --) 28 // Same row, single line break doesn't count on markdown. 29 string username = 1; 30 // Password. 31 // (-- This comment should be excluded 32 // from OpenAPI output --) 33 // 34 // New row. 35 string password = 2; 36 } 37 38 // (-- This comment should be excluded from OpenAPI output --) 39 message Foo2Reply {}