Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (25 sloc) 1.01 KB
syntax = "proto3";
package rest.plugins.gloo.solo.io;
option go_package = "github.com/solo-io/gloo/projects/gloo/pkg/api/v1/plugins/rest";
import "gogoproto/gogo.proto";
option (gogoproto.equal_all) = true;
import "github.com/solo-io/gloo/projects/gloo/api/v1/plugins/transformation/transformation.proto";
import "github.com/solo-io/gloo/projects/gloo/api/v1/plugins/transformation/parameters.proto";
message ServiceSpec {
map<string, transformation.plugins.gloo.solo.io.TransformationTemplate> transformations = 1;
message SwaggerInfo {
oneof swagger_spec {
string url = 1;
string inline = 2;
}
}
SwaggerInfo swagger_info = 2;
}
// This is only for upstream with REST service spec
message DestinationSpec {
string function_name = 1;
transformation.plugins.gloo.solo.io.Parameters parameters = 2;
transformation.plugins.gloo.solo.io.TransformationTemplate response_transformation = 3;
// TODO(yuval-k): do we need this?
// Parameters response_parameters;
}