mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-05-06 01:27:05 +00:00
Add license to swagger docs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// This file was generated by swaggo/swag at
|
||||
// 2019-08-07 14:14:05.35294 +0300 EEST m=+0.022146486
|
||||
// 2019-08-07 14:48:29.881959 +0300 EEST m=+0.022469914
|
||||
|
||||
package docs
|
||||
|
||||
@@ -16,20 +16,20 @@ var doc = `{
|
||||
"schemes": {{ marshal .Schemes }},
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"description": "{{.Description}}",
|
||||
"description": "Go microservice template for Kubernetes.",
|
||||
"title": "Podinfo API",
|
||||
"contact": {
|
||||
"name": "API Support",
|
||||
"name": "Source Code",
|
||||
"url": "https://github.com/stefanprodan/podinfo"
|
||||
},
|
||||
"license": {
|
||||
"name": "Apache 2.0",
|
||||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||||
"name": "MIT License",
|
||||
"url": "https://github.com/stefanprodan/podinfo/blob/master/LICENSE"
|
||||
},
|
||||
"version": "2.0"
|
||||
},
|
||||
"host": "{{.Host}}",
|
||||
"basePath": "{{.BasePath}}",
|
||||
"host": "localhost:9898",
|
||||
"basePath": "/",
|
||||
"paths": {
|
||||
"/": {
|
||||
"get": {
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"description": "{{.Description}}",
|
||||
"description": "Go microservice template for Kubernetes.",
|
||||
"title": "Podinfo API",
|
||||
"contact": {
|
||||
"name": "API Support",
|
||||
"name": "Source Code",
|
||||
"url": "https://github.com/stefanprodan/podinfo"
|
||||
},
|
||||
"license": {
|
||||
"name": "Apache 2.0",
|
||||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||||
"name": "MIT License",
|
||||
"url": "https://github.com/stefanprodan/podinfo/blob/master/LICENSE"
|
||||
},
|
||||
"version": "2.0"
|
||||
},
|
||||
"host": "{{.Host}}",
|
||||
"basePath": "{{.BasePath}}",
|
||||
"host": "localhost:9898",
|
||||
"basePath": "/",
|
||||
"paths": {
|
||||
"/": {
|
||||
"get": {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
basePath: '{{.BasePath}}'
|
||||
basePath: /
|
||||
definitions:
|
||||
api.ArrayResponse:
|
||||
items: {}
|
||||
@@ -43,15 +43,15 @@ definitions:
|
||||
token_name:
|
||||
type: string
|
||||
type: object
|
||||
host: '{{.Host}}'
|
||||
host: localhost:9898
|
||||
info:
|
||||
contact:
|
||||
name: API Support
|
||||
name: Source Code
|
||||
url: https://github.com/stefanprodan/podinfo
|
||||
description: '{{.Description}}'
|
||||
description: Go microservice template for Kubernetes.
|
||||
license:
|
||||
name: Apache 2.0
|
||||
url: http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
name: MIT License
|
||||
url: https://github.com/stefanprodan/podinfo/blob/master/LICENSE
|
||||
title: Podinfo API
|
||||
version: "2.0"
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user