Protobuffers
You could use your existing protobuffers as schema definition. Services could be configured and exposed through annotations provided inside the Maestro repository.
Introduction
package proto;
import "maestro/annotations.proto";
service Users {
option (maestro.service) = {
host: "https://service.users/"
protocol: "http"
codec: "json"
};
rpc Get(Query) returns (User) {
option (maestro.http) = {
endpoint: "/user/:id"
method: "GET"
};
};
}Last updated