Skip to content

Commit

Permalink
WIP: Fix typo: 'want a Schema'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivucica committed Oct 29, 2017
1 parent 290f777 commit 97ee19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protoc-gen-swagger/genswagger/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ func extractSchemaOptionFromMessageDescriptor(msg *pbdescriptor.DescriptorProto)
}
opts, ok := ext.(*swagger_options.Schema)
if !ok {
return nil, fmt.Errorf("extension is %T; want an Schema", ext)
return nil, fmt.Errorf("extension is %T; want a Schema", ext)
}
return opts, nil
}
Expand Down

0 comments on commit 97ee19b

Please sign in to comment.