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

3 bugs

26 Nov 09:49
7726baf
Compare
Choose a tag to compare

3 bugs fixed in this release:

Option to generate schemas with JSON field names

30 Oct 01:18
8cf8bfe
Compare
Choose a tag to compare

Thanks @grant for your suggestion (#38), and also for tidying up the README file!

json_fieldnames is the new option (see README.md)

Targeted messages

25 Sep 20:22
Compare
Choose a tag to compare

A new feature by @schigh allows specific proto messages to be targeted (in case you don't want to generate them all). Thank you!

Fixing stack overflow with well-known google "value" type

25 Sep 04:30
4038653
Compare
Choose a tag to compare

Supporting required fields

22 Jul 07:44
94e4524
Compare
Choose a tag to compare
  • Supporting proto2 required fields (thanks for your interest @YuanYingdong)
  • Proto3 doesn't allow required fields, so we introduce a new flag (all_fields_required) which can mark ALL fields required

Option to prefix schema files with their package names

14 Jul 07:09
Compare
Choose a tag to compare

Added a new option flag prefix_schema_files_with_package which puts generated jsonschema files under a directory named for the proto package.

Supporting Google's timestamp proto

11 Jul 00:56
aa01df3
Compare
Choose a tag to compare

Timestamps will now be recognised as such, and schemas will be generated as an RFC 3339 timestamp string:
2006-01-02T15:04:05Z07:00

Warning when proto files have no package

11 Jul 00:47
5a5c815
Compare
Choose a tag to compare

We now emit a warning when a proto file has no package.

Handling some well-known types

22 Jun 20:12
ac18b0f
Compare
Choose a tag to compare

References, cyclic dependencies

29 Apr 22:06
d72bb61
Compare
Choose a tag to compare
  • A huge PR from @wk8 (big thanks) which takes care of some long-standing issues
    • Cyclic dependencies
    • Correct handling of schema references
  • Also removed the -u flag from the go get commands (in the Makefile and README)

This provides fixes for several historic issues.