File tree 1 file changed +78
-0
lines changed
1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change
1
+ openapi : 3.0.0
2
+ info :
3
+ version : ' 1.0.0'
4
+ title : ' GIJ Cloud Api'
5
+ servers :
6
+ - url : " {{gij.appUrl}}"
7
+ paths :
8
+ /repoId/issue-branches :
9
+ get :
10
+ summary : a repository
11
+ operationId : hello
12
+ responses :
13
+ ' 200 ' :
14
+ description : success
15
+ /user :
16
+ get :
17
+ summary : ' Sample endpoint: Returns details about a particular user'
18
+ operationId : listUser
19
+ tags :
20
+ - user
21
+ parameters :
22
+ - name : id
23
+ in : query
24
+ description : ID of the user
25
+ required : true
26
+ schema :
27
+ type : integer
28
+ format : int32
29
+ responses :
30
+ ' 200 ' :
31
+ description : ' Sample response: Details about a user by ID'
32
+ headers :
33
+ x-next :
34
+ description : A link to the next page of responses
35
+ schema :
36
+ type : string
37
+ content :
38
+ application/json :
39
+ schema :
40
+ $ref : ' #/components/schemas/User'
41
+ default :
42
+ description : Unexpected error
43
+ content :
44
+ application/json :
45
+ schema :
46
+ $ref : ' #/components/schemas/Error'
47
+ components :
48
+ schemas :
49
+ User :
50
+ type : object
51
+ required :
52
+ - id
53
+ - name
54
+ properties :
55
+ id :
56
+ type : integer
57
+ format : int64
58
+ name :
59
+ type : string
60
+ tag :
61
+ type : string
62
+ Error :
63
+ type : object
64
+ required :
65
+ - code
66
+ - message
67
+ properties :
68
+ code :
69
+ type : integer
70
+ format : int32
71
+ message :
72
+ type : string
73
+ securitySchemes :
74
+ BasicAuth :
75
+ type : http
76
+ scheme : basic
77
+ security :
78
+ - BasicAuth : []
You can’t perform that action at this time.
0 commit comments