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

Releases: chrusty/protoc-gen-jsonschema

Comments as description

06 Oct 12:54
Compare
Choose a tag to compare
  • Comments in the proto files now become descriptions in the generated JSONSchemas (Thanks @ceason for the big PR, nice work!)
  • Added the MessageWithComments proto to the test samples
  • Added test coverage to make test

Map support

27 Aug 19:15
Compare
Choose a tag to compare

Now supports maps!

Optionally allow both proto and JSON field-names

06 Aug 11:00
Compare
Choose a tag to compare
  • Added a proto_and_json_fieldnames parameter which accepts either keys/field-names in either their proto format or the JSON equivalent (thanks @mier85)

Allow null arrays and objects

03 Jun 11:31
570f976
Compare
Choose a tag to compare

The allow_null_values option now applies to objects and arrays too.

Parameterised options

30 Jul 12:23
Compare
Choose a tag to compare
  • "debug": enable debug logging
  • "disallow_additional_properties": don't allow additional properties in JSON
  • "disallow_bigints_as_strings": don't allow bigints to pass as strings

All test cases are passing

24 Apr 08:16
Compare
Choose a tag to compare

Tests have now been added, and all of the sample protos compile file.

Ready for testing

13 Apr 12:16
Compare
Choose a tag to compare
Ready for testing Pre-release
Pre-release

Ready for trying out.

Passing:

  • Arrays (nested / self-defined / primitives)
  • Objects (nested / self-defined)
  • ENUMs (nested / self-defined)

Failing:

  • ENUMs (defined in their own file outside of a proto message)