This commit is contained in:
2025-12-04 10:55:25 +08:00
commit 60992c1e44
19 changed files with 1058 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
// Package docs Code generated by swaggo/swag. DO NOT EDIT
package docs
import "github.com/swaggo/swag"
const docTemplate = `{
"schemes": {{ marshal .Schemes }},
"swagger": "2.0",
"info": {
"description": "{{escape .Description}}",
"title": "{{.Title}}",
"contact": {
"name": "Darrel Israel",
"email": "d.israel.psa@gmail.com"
},
"version": "{{.Version}}"
},
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {},
"securityDefinitions": {
"BearerToken": {
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}`
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "",
BasePath: "/",
Schemes: []string{},
Title: "UESS Authentication Microservice",
Description: "This is the API for Authentication Microservice for UESS. It doesn't support OAS 3.0 and is only for documentation purposes. The library used doesn't support @server annotation.",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
}
func init() {
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}
+21
View File
@@ -0,0 +1,21 @@
{
"swagger": "2.0",
"info": {
"description": "This is the API for Authentication Microservice for UESS. It doesn't support OAS 3.0 and is only for documentation purposes. The library used doesn't support @server annotation.",
"title": "UESS Authentication Microservice",
"contact": {
"name": "Darrel Israel",
"email": "d.israel.psa@gmail.com"
},
"version": "1.0"
},
"basePath": "/",
"paths": {},
"securityDefinitions": {
"BearerToken": {
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}
+17
View File
@@ -0,0 +1,17 @@
basePath: /
info:
contact:
email: d.israel.psa@gmail.com
name: Darrel Israel
description: This is the API for Authentication Microservice for UESS. It doesn't
support OAS 3.0 and is only for documentation purposes. The library used doesn't
support @server annotation.
title: UESS Authentication Microservice
version: "1.0"
paths: {}
securityDefinitions:
BearerToken:
in: header
name: Authorization
type: apiKey
swagger: "2.0"