Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Option to ignore tagged fields

Compare
Choose a tag to compare
@chrusty chrusty released this 07 Sep 21:10
0a23e0f

This release includes a new CLI flag which causes the converter to omit specifically tagged fields.

There are two parts to this:

  • Use the included options.proto and mark fields to be ignored (see example)
  • Use the exclude_ignored_fields option with your protoc command (see the Makefile for a sample)

string hidden1 = 3 [(protoc.gen.jsonschema.ignore) = true];