generate swagger docs
This commit is contained in:
@@ -1979,9 +1979,9 @@ const docTemplate = `{
|
||||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||||
var SwaggerInfo = &swag.Spec{
|
||||
Version: "1.0",
|
||||
Host: "acc.jurmanovic.com",
|
||||
Host: "acc-api.jurmanovic.com",
|
||||
BasePath: "/v1",
|
||||
Schemes: []string{"http", "https"},
|
||||
Schemes: []string{"https"},
|
||||
Title: "ACC Server Manager API",
|
||||
Description: "API for managing Assetto Corsa Competizione dedicated servers",
|
||||
InfoInstanceName: "swagger",
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"schemes": [
|
||||
"http",
|
||||
"https"
|
||||
],
|
||||
"swagger": "2.0",
|
||||
@@ -17,7 +16,7 @@
|
||||
},
|
||||
"version": "1.0"
|
||||
},
|
||||
"host": "acc.jurmanovic.com",
|
||||
"host": "acc-api.jurmanovic.com",
|
||||
"basePath": "/v1",
|
||||
"paths": {
|
||||
"/api/server": {
|
||||
|
||||
@@ -112,7 +112,7 @@ definitions:
|
||||
username:
|
||||
type: string
|
||||
type: object
|
||||
host: acc.jurmanovic.com
|
||||
host: acc-api.jurmanovic.com
|
||||
info:
|
||||
contact:
|
||||
name: ACC Server Manager Support
|
||||
@@ -1256,7 +1256,6 @@ paths:
|
||||
tags:
|
||||
- system
|
||||
schemes:
|
||||
- http
|
||||
- https
|
||||
securityDefinitions:
|
||||
BearerAuth:
|
||||
|
||||
Reference in New Issue
Block a user