Simplify parameter descriptor declarations
This commit is contained in:
parent
45e5148df6
commit
e32b1e66f3
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue