This commit is contained in:
@@ -106,8 +106,9 @@ func StartServer() {
|
||||
// @license.name Apache 2.0
|
||||
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
|
||||
// @host localhost:3344
|
||||
// @host history-api.kain.id.vn
|
||||
// @BasePath /
|
||||
// @schemes https http
|
||||
|
||||
// @securityDefinitions.apikey BearerAuth
|
||||
// @in header
|
||||
|
||||
@@ -306,9 +306,9 @@ const docTemplate = `{
|
||||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||||
var SwaggerInfo = &swag.Spec{
|
||||
Version: "1.0",
|
||||
Host: "localhost:3344",
|
||||
Host: "history-api.kain.id.vn",
|
||||
BasePath: "/",
|
||||
Schemes: []string{},
|
||||
Schemes: []string{"https", "http"},
|
||||
Title: "History API",
|
||||
Description: "This is a sample server for History API.",
|
||||
InfoInstanceName: "swagger",
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
{
|
||||
"schemes": [
|
||||
"https",
|
||||
"http"
|
||||
],
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"description": "This is a sample server for History API.",
|
||||
@@ -15,7 +19,7 @@
|
||||
},
|
||||
"version": "1.0"
|
||||
},
|
||||
"host": "localhost:3344",
|
||||
"host": "history-api.kain.id.vn",
|
||||
"basePath": "/",
|
||||
"paths": {
|
||||
"/auth/refresh": {
|
||||
|
||||
@@ -41,7 +41,7 @@ definitions:
|
||||
status:
|
||||
type: boolean
|
||||
type: object
|
||||
host: localhost:3344
|
||||
host: history-api.kain.id.vn
|
||||
info:
|
||||
contact:
|
||||
email: support@swagger.io
|
||||
@@ -193,6 +193,9 @@ paths:
|
||||
summary: Get tile metadata
|
||||
tags:
|
||||
- Tile
|
||||
schemes:
|
||||
- https
|
||||
- http
|
||||
securityDefinitions:
|
||||
BearerAuth:
|
||||
description: Type "Bearer " followed by a space and JWT token.
|
||||
|
||||
Reference in New Issue
Block a user