This commit is contained in:
2023-12-01 13:44:58 +01:00
parent b958ff7ca2
commit 6e98701299
239 changed files with 827 additions and 102 deletions

View File

@@ -2,7 +2,6 @@ package swagger
import (
"embed"
_ "embed"
"github.com/gin-gonic/gin"
"gogs.mikescher.com/BlackForestBytes/goext/ginext"
"net/http"

View File

@@ -8,6 +8,12 @@
"host": "localhost",
"basePath": "/api/v1/",
"paths": {
"/": {
"get": {
"summary": "(Website)",
"responses": {}
}
},
"/api/health": {
"get": {
"tags": [
@@ -169,6 +175,18 @@
}
}
},
"/index.html": {
"get": {
"summary": "(Website)",
"responses": {}
}
},
"/scripts.script.js": {
"get": {
"summary": "(Website)",
"responses": {}
}
},
"/server": {
"get": {
"summary": "List running server",

View File

@@ -83,6 +83,10 @@ info:
title: LocalHostBunny
version: "1.0"
paths:
/:
get:
responses: {}
summary: (Website)
/api/health:
get:
responses:
@@ -187,6 +191,14 @@ paths:
summary: Return 200 after x seconds
tags:
- Common
/index.html:
get:
responses: {}
summary: (Website)
/scripts.script.js:
get:
responses: {}
summary: (Website)
/server:
get:
responses: