Simplify parameter descriptor declarations

This commit is contained in:
Stephen J Day 2014-12-18 21:39:56 -08:00
parent 45e5148df6
commit e32b1e66f3

View File

@ -615,7 +615,7 @@ var routeDescriptors = []RouteDescriptor{
nameParameterDescriptor,
},
QueryParameters: []ParameterDescriptor{
ParameterDescriptor{
{
Name: "digest",
Type: "query",
Format: "<tarsum>",
@ -818,7 +818,7 @@ var routeDescriptors = []RouteDescriptor{
uuidParameterDescriptor,
},
QueryParameters: []ParameterDescriptor{
ParameterDescriptor{
{
Name: "digest",
Type: "string",
Format: "<tarsum>",