Skip to content

Commit 725bb41

Browse files
authored
Update openapi.yaml
1 parent ec52fd7 commit 725bb41

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

openapi.yaml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ paths:
4343
properties:
4444
status:
4545
type: string
46-
tree:
46+
path:
47+
type: string
48+
files:
4749
type: array
4850
items:
4951
type: object
@@ -90,6 +92,8 @@ paths:
9092
properties:
9193
status:
9294
type: string
95+
path:
96+
type: string
9397
content:
9498
type: string
9599

@@ -103,6 +107,13 @@ paths:
103107
application/json:
104108
schema:
105109
type: object
110+
required:
111+
- owner
112+
- repo
113+
- path
114+
- branch
115+
- content
116+
- message
106117
properties:
107118
owner:
108119
type: string
@@ -117,6 +128,10 @@ paths:
117128
type: string
118129
message:
119130
type: string
131+
author_name:
132+
type: string
133+
author_email:
134+
type: string
120135
responses:
121136
"200":
122137
description: File written successfully
@@ -127,8 +142,8 @@ paths:
127142
properties:
128143
status:
129144
type: string
130-
message:
131-
type: string
145+
result:
146+
type: object
132147

133148
/scan-repo/:
134149
post:
@@ -140,6 +155,9 @@ paths:
140155
application/json:
141156
schema:
142157
type: object
158+
required:
159+
- owner
160+
- repo
143161
properties:
144162
owner:
145163
type: string
@@ -173,3 +191,7 @@ paths:
173191
type: string
174192
type:
175193
type: string
194+
children:
195+
type: array
196+
items:
197+
type: object

0 commit comments

Comments
 (0)