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