updated file as per convention

This commit is contained in:
Carlos Jimenez Ruiz 2022-07-11 11:25:31 +02:00
parent fc87039571
commit 44c29aa489
1 changed files with 4 additions and 4 deletions

View File

@ -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'
}
});