Skip to content

Commit 6bebe6a

Browse files
swagger_v1_json.tmpl without new line character
1 parent df83324 commit 6bebe6a

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

templates/swagger/v1_json.tmpl

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,45 @@
2323
},
2424
"basePath": "{{AppSubUrl}}/api/v1",
2525
"paths": {
26+
"/admin/orgs": {
27+
"get": {
28+
"produces": [
29+
"application/json"
30+
],
31+
"tags": [
32+
"admin"
33+
],
34+
"summary": "List all organizations",
35+
"operationId": "adminGetAllOrgs",
36+
"responses": {
37+
"200": {
38+
"$ref": "#/responses/OrganizationList"
39+
},
40+
"403": {
41+
"$ref": "#/responses/forbidden"
42+
}
43+
}
44+
}
45+
},
2646
"/admin/users": {
47+
"get": {
48+
"produces": [
49+
"application/json"
50+
],
51+
"tags": [
52+
"admin"
53+
],
54+
"summary": "List all organizations",
55+
"operationId": "adminGetAllUsers",
56+
"responses": {
57+
"200": {
58+
"$ref": "#/responses/UserList"
59+
},
60+
"403": {
61+
"$ref": "#/responses/forbidden"
62+
}
63+
}
64+
},
2765
"post": {
2866
"consumes": [
2967
"application/json"

0 commit comments

Comments
 (0)