Skip to content

Commit

Permalink
modified a_bit_of_everything.proto to include required fields
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanth6k committed Aug 2, 2018
1 parent 86d3692 commit cf9bfa9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/proto/examplepb/a_bit_of_everything.proto
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ message ABitOfEverything {
json_schema: {
title: "A bit of everything"
description: "Intentionaly complicated message type to cover many features of Protobuf."
required: ["uuid", "float_value"]
}
external_docs: {
url: "https://github.com/grpc-ecosystem/grpc-gateway";
Expand Down
4 changes: 4 additions & 0 deletions examples/proto/examplepb/a_bit_of_everything.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,10 @@
},
"description": "Intentionaly complicated message type to cover many features of Protobuf.",
"title": "A bit of everything",
"required": [
"uuid",
"float_value"
],
"externalDocs": {
"description": "Find out more about ABitOfEverything",
"url": "https://github.com/grpc-ecosystem/grpc-gateway"
Expand Down

0 comments on commit cf9bfa9

Please sign in to comment.