updated file as per convention
This commit is contained in:
parent
fc87039571
commit
44c29aa489
|
@ -9,7 +9,7 @@ module.exports = Self => {
|
||||||
accepts: [
|
accepts: [
|
||||||
{
|
{
|
||||||
arg: 'id',
|
arg: 'id',
|
||||||
type: 'String',
|
type: 'string',
|
||||||
description: 'The invoice id',
|
description: 'The invoice id',
|
||||||
http: {source: 'path'}
|
http: {source: 'path'}
|
||||||
}
|
}
|
||||||
|
@ -21,16 +21,16 @@ module.exports = Self => {
|
||||||
root: true
|
root: true
|
||||||
}, {
|
}, {
|
||||||
arg: 'Content-Type',
|
arg: 'Content-Type',
|
||||||
type: 'String',
|
type: 'string',
|
||||||
http: {target: 'header'}
|
http: {target: 'header'}
|
||||||
}, {
|
}, {
|
||||||
arg: 'Content-Disposition',
|
arg: 'Content-Disposition',
|
||||||
type: 'String',
|
type: 'string',
|
||||||
http: {target: 'header'}
|
http: {target: 'header'}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
http: {
|
http: {
|
||||||
path: `/:id/download`,
|
path: '/:id/download',
|
||||||
verb: 'GET'
|
verb: 'GET'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue