generate swagger docs
All checks were successful
Release and Deploy / build (push) Successful in 1m50s
Release and Deploy / deploy (push) Successful in 21s

This commit is contained in:
Fran Jurmanović
2025-08-05 17:09:05 +02:00
parent 87d4af0bec
commit 1683d5c2f1
3 changed files with 4 additions and 6 deletions

View File

@@ -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",

View File

@@ -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": {

View File

@@ -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: