Documentation menu
DocumentationgRPC and .proto schemas

gRPC and .proto schemas

anomorph uses Protobuf descriptors to turn binary messages into fields you can inspect and edit.

Match or infer a .proto from a call

  1. Capture a test gRPC call such as GetCart and open its response.
  2. In Settings → Proto → Without a .proto, check whether schema inference is enabled. You can also use Guess a .proto on the call.
  3. Inspect the inferred schema under Settings → Proto. It can refine field types and nesting as later calls reveal more values.

An inferred schema is a draft. Protobuf messages do not carry the original field names, so labels such as field_1 are expected. If you have the original schema, import it to recover the names and declared types.

Retrieve schemas with Server Reflection

If the service offers gRPC Server Reflection, anomorph can retrieve its schema. Reflection and inference have separate switches. Use inference when reflection is unavailable and a schema has not been imported.

Import files, folders or Git repositories

Read the decoded response

Confirm that the response shows the shape you expect. A test cart may contain currency and total_cents with an imported schema, or numbered field names with a draft. Once you identify the field, change it with Rewrite.

{ "currency": "USD", "total_cents": 1999 }

See the gRPC walkthrough for the decoded fields in a captured call.