File tree Expand file tree Collapse file tree 4 files changed +26
-22
lines changed Expand file tree Collapse file tree 4 files changed +26
-22
lines changed Original file line number Diff line number Diff line change 1
1
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
2
2
// This file was generated by swaggo/swag at
3
- // 2019-08-07 14:14:05.35294 +0300 EEST m=+0.022146486
3
+ // 2019-08-07 14:48:29.881959 +0300 EEST m=+0.022469914
4
4
5
5
package docs
6
6
@@ -16,20 +16,20 @@ var doc = `{
16
16
"schemes": {{ marshal .Schemes }},
17
17
"swagger": "2.0",
18
18
"info": {
19
- "description": "{{.Description}} ",
19
+ "description": "Go microservice template for Kubernetes. ",
20
20
"title": "Podinfo API",
21
21
"contact": {
22
- "name": "API Support ",
22
+ "name": "Source Code ",
23
23
"url": "https://github.com/stefanprodan/podinfo"
24
24
},
25
25
"license": {
26
- "name": "Apache 2.0 ",
27
- "url": "http ://www.apache.org/licenses/ LICENSE-2.0.html "
26
+ "name": "MIT License ",
27
+ "url": "https ://github.com/stefanprodan/podinfo/blob/master/ LICENSE"
28
28
},
29
29
"version": "2.0"
30
30
},
31
- "host": "{{.Host}} ",
32
- "basePath": "{{.BasePath}} ",
31
+ "host": "localhost:9898 ",
32
+ "basePath": "/ ",
33
33
"paths": {
34
34
"/": {
35
35
"get": {
Original file line number Diff line number Diff line change 1
1
{
2
2
"swagger" : " 2.0" ,
3
3
"info" : {
4
- "description" : " {{.Description}} " ,
4
+ "description" : " Go microservice template for Kubernetes. " ,
5
5
"title" : " Podinfo API" ,
6
6
"contact" : {
7
- "name" : " API Support " ,
7
+ "name" : " Source Code " ,
8
8
"url" : " https://github.com/stefanprodan/podinfo"
9
9
},
10
10
"license" : {
11
- "name" : " Apache 2.0 " ,
12
- "url" : " http ://www.apache.org/licenses/ LICENSE-2.0.html "
11
+ "name" : " MIT License " ,
12
+ "url" : " https ://github.com/stefanprodan/podinfo/blob/master/ LICENSE"
13
13
},
14
14
"version" : " 2.0"
15
15
},
16
- "host" : " {{.Host}} " ,
17
- "basePath" : " {{.BasePath}} " ,
16
+ "host" : " localhost:9898 " ,
17
+ "basePath" : " / " ,
18
18
"paths" : {
19
19
"/" : {
20
20
"get" : {
Original file line number Diff line number Diff line change 1
- basePath : ' {{.BasePath}} '
1
+ basePath : /
2
2
definitions :
3
3
api.ArrayResponse :
4
4
items : {}
@@ -43,15 +43,15 @@ definitions:
43
43
token_name :
44
44
type : string
45
45
type : object
46
- host : ' {{.Host}} '
46
+ host : localhost:9898
47
47
info :
48
48
contact :
49
- name : API Support
49
+ name : Source Code
50
50
url : https://github.com/stefanprodan/podinfo
51
- description : ' {{.Description}} '
51
+ description : Go microservice template for Kubernetes.
52
52
license :
53
- name : Apache 2.0
54
- url : http ://www.apache.org/licenses/ LICENSE-2.0.html
53
+ name : MIT License
54
+ url : https ://github.com/stefanprodan/podinfo/blob/master/ LICENSE
55
55
title : Podinfo API
56
56
version : " 2.0"
57
57
paths :
Original file line number Diff line number Diff line change @@ -2,12 +2,16 @@ package api
2
2
3
3
// @title Podinfo API
4
4
// @version 2.0
5
+ // @description Go microservice template for Kubernetes.
5
6
6
- // @contact.name API Support
7
+ // @contact.name Source Code
7
8
// @contact.url https://github.com/stefanprodan/podinfo
8
9
9
- // @license.name Apache 2.0
10
- // @license.url http://www.apache.org/licenses/LICENSE-2.0.html
10
+ // @license.name MIT License
11
+ // @license.url https://github.com/stefanprodan/podinfo/blob/master/LICENSE
12
+
13
+ // @host localhost:9898
14
+ // @BasePath /
11
15
12
16
type ArrayResponse []string
13
17
type MapResponse map [string ]string
You can’t perform that action at this time.
0 commit comments