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