syntax = "proto3";

// If you make any changes make sure you run: make regenerate-proto

package gitlab.agent.reverse_tunnel.info;

option go_package = "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/tunnel/info";
import "buf/validate/validate.proto";

message Method {
  string name = 1 [(buf.validate.field).string.min_bytes = 1];
}

message Service {
  string name = 1 [(buf.validate.field).string.min_bytes = 1];
  repeated Method methods = 2;
}

message APIDescriptor {
  repeated Service services = 1;
}
