Skip to content

Commit

Permalink
docs(invoice): change type of object that endpoint returns
Browse files Browse the repository at this point in the history
  • Loading branch information
devrrior committed Oct 3, 2022
1 parent 95494cb commit 65890f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/invoice/api/invoice-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ module.exports = function (app: core.Express) {
* '200':
* description: OK
* schema:
* $ref: '#/definitions/MockInvoiceResponse'
* type: array
* items:
* $ref: '#/definitions/MockInvoiceResponse'
*/
app.get('/invoices/:qty?', (req: Request, res: Response) => {
const qty = getQtyFromRequest(req, DEFAULT_INVOICE_QUANTITY);
Expand Down

0 comments on commit 65890f9

Please sign in to comment.