...
1swagger: '2.0'
2info:
3 title: Something definitions
4 contact:
5 name: Somebody
6 url: https://url.com
7 email: email@url.com
8 description: Something
9 version: v1
10host: security.sonusnet.com
11schemes:
12- https
13- http
14basePath: /api/something/definitions
15produces:
16- application/json
17- plain/text
18
19paths:
20 /shared:
21 get:
22 operationId: Get
23 tags:
24 - Shared
25 responses:
26 200:
27 description: OK
28 schema:
29 properties:
30 name:
31 type: string
32
33definitions:
34 Something:
35 description: Something
36 type: object
37 properties:
38 p1:
39 type: string
40 description: A string
41 p2:
42 type: integer
43 description: An integer
44
View as plain text