...
1swagger: '2.0'
2
3info:
4 version: "1.0.0"
5 title: Private to-do list
6 description: |
7 A very simple api description that makes a json only API to submit to do's.
8
9produces:
10 - application/json
11
12consumes:
13 - application/json
14
15paths:
16 /models:
17 get:
18 operationId: modelOp
19 summary: many model variations
20 description: Used to see if a codegen can render all the possible parameter variations for a header param
21 tags:
22 - testcgen
23 responses:
24 default:
25 description: Generic Out
26
27definitions:
28 genericResource:
29 description: generic resource
30 properties:
31 meta:
32 type: string
33 required:
34 - meta
35 additionalProperties:
36 type: object
View as plain text