File tree Expand file tree Collapse file tree 3 files changed +46
-9
lines changed
Expand file tree Collapse file tree 3 files changed +46
-9
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,22 @@ var doc = `{
4343 "200": {
4444 "description": "OK",
4545 "schema": {
46- "type": "object"
46+ "allOf": [
47+ {
48+ "$ref": "#/definitions/httputils.DataResponse"
49+ },
50+ {
51+ "type": "object",
52+ "properties": {
53+ "data": {
54+ "type": "object",
55+ "additionalProperties": {
56+ "type": "string"
57+ }
58+ }
59+ }
60+ }
61+ ]
4762 }
4863 }
4964 }
@@ -487,12 +502,12 @@ type swaggerInfo struct {
487502
488503// SwaggerInfo holds exported Swagger Info so clients can modify it
489504var SwaggerInfo = swaggerInfo {
490- Version : "0.1-beta " ,
505+ Version : "v1 " ,
491506 Host : "demo-v1.gilfoyle.dreamvo.com" ,
492507 BasePath : "/" ,
493508 Schemes : []string {"http" , "https" },
494509 Title : "Gilfoyle server" ,
495- Description : "Media streaming server backed by decentralized filesystem ." ,
510+ Description : "Cloud-native media hosting & streaming server for businesses ." ,
496511}
497512
498513type s struct {}
Original file line number Diff line number Diff line change 55 ],
66 "swagger" : " 2.0" ,
77 "info" : {
8- "description" : " Media streaming server backed by decentralized filesystem ." ,
8+ "description" : " Cloud-native media hosting \u0026 streaming server for businesses ." ,
99 "title" : " Gilfoyle server" ,
1010 "contact" : {},
1111 "license" : {
1212 "name" : " GNU General Public License v3.0" ,
1313 "url" : " https://github.com/dreamvo/gilfoyle/blob/master/LICENSE"
1414 },
15- "version" : " 0.1-beta "
15+ "version" : " v1 "
1616 },
1717 "host" : " demo-v1.gilfoyle.dreamvo.com" ,
1818 "basePath" : " /" ,
3232 "200" : {
3333 "description" : " OK" ,
3434 "schema" : {
35- "type" : " object"
35+ "allOf" : [
36+ {
37+ "$ref" : " #/definitions/httputils.DataResponse"
38+ },
39+ {
40+ "type" : " object" ,
41+ "properties" : {
42+ "data" : {
43+ "type" : " object" ,
44+ "additionalProperties" : {
45+ "type" : " string"
46+ }
47+ }
48+ }
49+ }
50+ ]
3651 }
3752 }
3853 }
Original file line number Diff line number Diff line change @@ -49,12 +49,12 @@ definitions:
4949host : demo-v1.gilfoyle.dreamvo.com
5050info :
5151 contact : {}
52- description : Media streaming server backed by decentralized filesystem .
52+ description : Cloud-native media hosting & streaming server for businesses .
5353 license :
5454 name : GNU General Public License v3.0
5555 url : https://github.com/dreamvo/gilfoyle/blob/master/LICENSE
5656 title : Gilfoyle server
57- version : 0.1-beta
57+ version : v1
5858paths :
5959 /health :
6060 get :
@@ -66,7 +66,14 @@ paths:
6666 " 200 " :
6767 description : OK
6868 schema :
69- type : object
69+ allOf :
70+ - $ref : ' #/definitions/httputils.DataResponse'
71+ - properties :
72+ data :
73+ additionalProperties :
74+ type : string
75+ type : object
76+ type : object
7077 summary : Check service status
7178 tags :
7279 - health
You can’t perform that action at this time.
0 commit comments