file_to_generate: "bad/v1/bad.proto"
proto_file: {
  name: "bad/v1/bad.proto"
  package: "bad.v1"
  message_type: {
    name: "GetRequest"
    field: {
      name: "id"
      number: 1
      label: LABEL_OPTIONAL
      type: TYPE_STRING
      json_name: "id"
    }
  }
  message_type: {
    name: "GetResponse"
    field: {
      name: "id"
      number: 1
      label: LABEL_OPTIONAL
      type: TYPE_STRING
      json_name: "id"
    }
  }
  service: {
    name: "BadService"
    method: {
      name: "Get"
      input_type: ".bad.v1.GetRequest"
      output_type: ".bad.v1.GetResponse"
      options: {
        [google.api.http]: {
          get: "/v1/thing/{id}"
        }
      }
    }
  }
  options: {
    go_package: "github.com/example/bad/v1;badv1"
    [grpc.gateway.protoc_gen_openapiv3.options.openapiv3_document]: {
      info: {
        title: "Bad API"
        version: "1.0.0"
        license: {
          identifier: "Apache-2.0"
        }
      }
    }
  }
  syntax: "proto3"
}
