add server api get and update service control endpoints
This commit is contained in:
27
cmd/api/swagger.go
Normal file
27
cmd/api/swagger.go
Normal file
@@ -0,0 +1,27 @@
|
||||
// Package main ACC Server Manager API
|
||||
//
|
||||
// @title ACC Server Manager API
|
||||
// @version 1.0
|
||||
// @description API for managing Assetto Corsa Competizione dedicated servers
|
||||
//
|
||||
// @contact.name ACC Server Manager Support
|
||||
// @contact.url https://github.com/yourusername/acc-server-manager
|
||||
//
|
||||
// @license.name MIT
|
||||
// @license.url https://opensource.org/licenses/MIT
|
||||
//
|
||||
// @host localhost:3000
|
||||
// @BasePath /api/v1
|
||||
// @schemes http https
|
||||
//
|
||||
// @securityDefinitions.apikey BearerAuth
|
||||
// @in header
|
||||
// @name Authorization
|
||||
// @description Type "Bearer" followed by a space and JWT token.
|
||||
//
|
||||
// @externalDocs.description OpenAPI
|
||||
// @externalDocs.url https://swagger.io/resources/open-api/
|
||||
package main
|
||||
|
||||
// This file exists solely for Swagger documentation generation.
|
||||
// Run: swag init -g cmd/api/swagger.go -o docs/
|
||||
Reference in New Issue
Block a user