...
1swagger: '2.0'
2info:
3 version: 1.0.0
4 title: 'Test'
5schemes:
6 - http
7produces:
8 - application/json
9 - "text/plain"
10consumes:
11 - application/json
12paths:
13 /key/{id}:
14 delete:
15 parameters:
16 - name: id
17 in: path
18 type: integer
19 required: true
20 responses:
21 '200':
22 description: OK
23definitions:
24 example:
25 type: object
26 required:
27 - begin
28 properties:
29 begin:
30 type: string
31 format: date-time
32 end:
33 type: string
34 format: date-time
35 name:
36 type: string
View as plain text