Skip to content

Commit

Permalink
Docs: Add: (refs #183) spec for '/results' endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Cj-bc committed Sep 10, 2018
1 parent 2b15dc5 commit 0e19980
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions api/spec/routes/api/results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
return PDF file that contains the results of previous lotteries
---
produces:
- application/pdf
responses:
'200':
description: PDF file which contains whole winners for previous winners
schema:
type: file
'400':
description: not acceptable time
schema:
$ref: '#/definitions/ErrorMessage'
summary: return PDF file that contains the results of previous lotteries

0 comments on commit 0e19980

Please sign in to comment.