Skip to content

Google wrappers proto fails validation #78

Description

@jtjeferreira

I was trying this in my project and noticed that it fails for the wrappers.proto from google:

// Wrapper message for `uint64`.
//
// The JSON representation for `UInt64Value` is JSON string.
message UInt64Value {
  // The uint64 value.
  uint64 value = 1;
}
{
    "error_type" : "MessageNameCamel",
    "source" : {
      "name" : "UInt64Value",tocGenerate 0s
      "field" : [
        {
          "number" : 1,
          "name" : "value",
          "label" : "LABEL_OPTIONAL",
          "jsonName" : "value",
          "type" : "TYPE_UINT64"
        }
      ]
    }
  },
  {
    "error_type" : "MessageNameCamel",
    "source" : {
      "name" : "UInt32Value",
      "field" : [
        {
          "number" : 1,
          "name" : "value",
          "label" : "LABEL_OPTIONAL",
          "jsonName" : "value",
          "type" : "TYPE_UINT32"
        }
      ]
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions