Skip to content

Commit

Permalink
Merge pull request #271 from tmc/swagger_order_fixup
Browse files Browse the repository at this point in the history
remove unnecessary make()
  • Loading branch information
tmc authored Nov 23, 2016
2 parents 0ceac41 + 53b2c01 commit ded242e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion protoc-gen-swagger/genswagger/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func renderMessagesAsDefinition(messages messageMap, d swaggerDefinitionsObject,
schemaCore: schemaCore{
Type: "object",
},
Properties: make(swaggerSchemaObjectProperties, 0),
}
msgComments := protoComments(reg, msg.File, msg.Outers, "MessageType", int32(msg.Index))
if err := updateSwaggerDataFromComments(&schema, msgComments); err != nil {
Expand Down

0 comments on commit ded242e

Please sign in to comment.