File tree 1 file changed +54
-13
lines changed
1 file changed +54
-13
lines changed Original file line number Diff line number Diff line change 1
1
openapi : 3.0.1
2
2
info :
3
- title : Test API
4
- version : v1
3
+ title : Tufin
4
+ version : " 2.0"
5
+ servers :
6
+ - url : https://localhost:9080
5
7
paths :
6
- /partner- api/test/some-method :
7
- get :
8
+ /api/v1.0/groups :
9
+ post :
8
10
tags :
9
- - Test
10
- responses :
11
- " 201 " :
12
- description : Success
13
- /partner-api/test/another-method :
14
- get :
15
- tags :
16
- - Test
11
+ - Group
12
+ operationId : createOneGroup
13
+ requestBody :
14
+ content :
15
+ application/json :
16
+ schema :
17
+ $ref : ' #/components/schemas/GroupView'
18
+ description : Creates one project.
19
+ required : true
17
20
responses :
18
21
" 200 " :
19
- description : Success
22
+ content :
23
+ application/json :
24
+ schema :
25
+ $ref : ' #/components/schemas/GroupView'
26
+ description : OK
27
+ " 409 " :
28
+ content :
29
+ application/json :
30
+ schema :
31
+ $ref : ' #/components/schemas/GroupView'
32
+ description : Conflict
33
+ summary : Create One Project
34
+ components :
35
+ parameters :
36
+ groupId :
37
+ in : path
38
+ name : groupId
39
+ required : true
40
+ schema :
41
+ type : string
42
+ schemas :
43
+ GroupView :
44
+ type : object
45
+ properties :
46
+ data :
47
+ type : object
48
+ properties :
49
+ created :
50
+ type : string
51
+ format : date-time
52
+ readOnly : true
53
+ pattern : " ^[a-z]+$"
54
+ id :
55
+ type : string
56
+ readOnly : true
57
+ name :
58
+ type : string
59
+ required :
60
+ - name
You can’t perform that action at this time.
0 commit comments