-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswagger.yaml
More file actions
47 lines (43 loc) · 838 Bytes
/
swagger.yaml
File metadata and controls
47 lines (43 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
tags:
- name: targets
description: targets API
# [POST] targets/radar
post:
tags:
- targets
summary: Get next target coordinates
parameters:
- name: body
in: body
description: targets Data
required: true
schema:
$ref: '#/definitions/targets'
responses:
200:
description: 'OK'
400:
description: 'Bad Request'
500:
description: 'Server Error'
# definitions
definitions:
targets:
type: object
required:
- protocols
- scan
properties:
protocols:
type: array
items:
type: string
description: possible protocols to get next target
scan:
type: array
items:
type: object
description: targets array data
schemes:
- https
- http