Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

Create Akka HTTP from protobuf file

$
0
0

Hi,

This is a proto file

package tests;


 service HalloController{        
    rpc Hallo (HelloInApi) returns (HelloOutApi) {
        option (google.api.http) = {
           post: "/v1/hello"
           body: "blob"
       };
    }                
}


message HelloInApi{
     string name = 1 [(scalapb.field).no_box = true];
}
message HelloOutApi {
     string greeting = 1 [(scalapb.field).no_box = true];

}

Is it possible to generate full akka http server/client artifacts from proto file?
So, after generation I can use any http/rest client and just call /v1/hello ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1362

Trending Articles