diff options
Diffstat (limited to '')
-rw-r--r-- | tests/inputs/deprecated/deprecated.json | 6 | ||||
-rw-r--r-- | tests/inputs/deprecated/deprecated.proto | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/inputs/deprecated/deprecated.json b/tests/inputs/deprecated/deprecated.json new file mode 100644 index 0000000..43b2b65 --- /dev/null +++ b/tests/inputs/deprecated/deprecated.json @@ -0,0 +1,6 @@ +{ + "message": { + "value": "hello" + }, + "value": 10 +} diff --git a/tests/inputs/deprecated/deprecated.proto b/tests/inputs/deprecated/deprecated.proto new file mode 100644 index 0000000..81d69c0 --- /dev/null +++ b/tests/inputs/deprecated/deprecated.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package deprecated; + +// Some documentation about the Test message. +message Test { + Message message = 1 [deprecated=true]; + int32 value = 2; +} + +message Message { + option deprecated = true; + string value = 1; +} |