Simplify parameter descriptor declarations
This commit is contained in:
parent
45e5148df6
commit
e32b1e66f3
@ -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>",
|
||||
|
Loading…
Reference in New Issue
Block a user