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