...
1swagger: '2.0'
2info:
3 title: issue-342
4 version: 0.0.1
5 license:
6 name: MIT
7host: localhost:8081
8basePath: /api/v1
9schemes:
10 - http
11consumes:
12 - application/json
13produces:
14 - application/json
15paths:
16 /get_main_object:
17 get:
18 tags:
19 - maindata
20 parameters:
21 - name: sid
22 in: body
23 required: true
24 $ref: "#/definitions/sample_info/properties/sid"
25 responses:
26 '200':
27
28definitions:
29 sample_info:
30 type: object
31 properties:
32 sid:
33 type: string
34
View as plain text