Skip to content

Commit

Permalink
Merge branch 'master' into swagger_descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivucica committed May 1, 2016
2 parents 081be28 + 98578bc commit 8bdac72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@ realclean: distclean
rm -f $(EXAMPLE_GWSRCS)
rm -f $(EXAMPLE_SWAGGERSRCS)
rm -f $(GO_PLUGIN)
rm -f $(SWAGGER_PLUGIN)

.PHONY: generate examples test clean distclean realclean
1 change: 1 addition & 0 deletions protoc-gen-swagger/genswagger/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func renderMessagesAsDefinition(messages messageMap, d swaggerDefinitionsObject,
for _, msg := range messages {
msgDescription := protoComments(reg, msg.File, msg.Outers, "MessageType", int32(msg.Index))
object := swaggerSchemaObject{
Type: "object",
Properties: map[string]swaggerSchemaObject{},
Description: msgDescription,
}
Expand Down

0 comments on commit 8bdac72

Please sign in to comment.