// Generated by Microsoft TypeSpec

syntax = "proto3";

enum InputType {
  FOO = 0;
  BAR = 1;
}

enum InputTypeWithAlias {
  option allow_alias = true;

  BAZ = 0;
  QUX = 1;
  FUZ = 1;
}

message Input {
  string testInputField = 1;
  InputType type = 2;
  InputTypeWithAlias aliased = 3;
}

message Output {
  int32 testOutputField = 1;
  string secondField = 2;
}

service Service {
  rpc Foo(Input) returns (Output);
}
