aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-09-10 22:13:24 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-09-10 22:13:24 +0300
commit16165aea34a711027825b3f6512e73a0156f8068 (patch)
tree138d92b8b01c41e07a3a2316fd109ddd97e80fa6 /docs
parentrefactor: update readme (diff)
downloadlphub-16165aea34a711027825b3f6512e73a0156f8068.tar.gz
lphub-16165aea34a711027825b3f6512e73a0156f8068.tar.bz2
lphub-16165aea34a711027825b3f6512e73a0156f8068.zip
refactor: move backend entry, rename module
Diffstat (limited to '')
-rw-r--r--backend/docs/docs.go (renamed from docs/docs.go)4
-rw-r--r--backend/docs/swagger.json (renamed from docs/swagger.json)4
-rw-r--r--backend/docs/swagger.yaml (renamed from docs/swagger.yaml)4
-rw-r--r--docs/index.html26
4 files changed, 6 insertions, 32 deletions
diff --git a/docs/docs.go b/backend/docs/docs.go
index 13f217d..f652a1e 100644
--- a/docs/docs.go
+++ b/backend/docs/docs.go
@@ -11,8 +11,8 @@ const docTemplate = `{
11 "title": "{{.Title}}", 11 "title": "{{.Title}}",
12 "contact": {}, 12 "contact": {},
13 "license": { 13 "license": {
14 "name": "GNU General Public License, Version 2", 14 "name": "GNU Affero General Public License, Version 3",
15 "url": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" 15 "url": "https://www.gnu.org/licenses/agpl-3.0.html"
16 }, 16 },
17 "version": "{{.Version}}" 17 "version": "{{.Version}}"
18 }, 18 },
diff --git a/docs/swagger.json b/backend/docs/swagger.json
index a773ac7..6de5978 100644
--- a/docs/swagger.json
+++ b/backend/docs/swagger.json
@@ -5,8 +5,8 @@
5 "title": "Least Portals Database API", 5 "title": "Least Portals Database API",
6 "contact": {}, 6 "contact": {},
7 "license": { 7 "license": {
8 "name": "GNU General Public License, Version 2", 8 "name": "GNU Affero General Public License, Version 3",
9 "url": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" 9 "url": "https://www.gnu.org/licenses/agpl-3.0.html"
10 }, 10 },
11 "version": "1.0" 11 "version": "1.0"
12 }, 12 },
diff --git a/docs/swagger.yaml b/backend/docs/swagger.yaml
index bdfed28..853b3b9 100644
--- a/docs/swagger.yaml
+++ b/backend/docs/swagger.yaml
@@ -514,8 +514,8 @@ info:
514 contact: {} 514 contact: {}
515 description: Backend API endpoints for the Least Portals Database. 515 description: Backend API endpoints for the Least Portals Database.
516 license: 516 license:
517 name: GNU General Public License, Version 2 517 name: GNU Affero General Public License, Version 3
518 url: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html 518 url: https://www.gnu.org/licenses/agpl-3.0.html
519 title: Least Portals Database API 519 title: Least Portals Database API
520 version: "1.0" 520 version: "1.0"
521paths: 521paths:
diff --git a/docs/index.html b/docs/index.html
deleted file mode 100644
index 8d12274..0000000
--- a/docs/index.html
+++ /dev/null
@@ -1,26 +0,0 @@
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="utf-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1" />
6 <meta
7 name="description"
8 content="SwaggerIU"
9 />
10 <title>SwaggerUI</title>
11 <link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui.css" />
12</head>
13<body>
14 <div id="swagger-ui"></div>
15 <script src="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui-bundle.js" crossorigin></script>
16 <script src="https://unpkg.com/swagger-ui-dist@4.4.1/swagger-ui-standalone-preset.js" crossorigin></script>
17 <script>
18 window.onload = () => {
19 window.ui = SwaggerUIBundle({
20 url: 'https://lp.ardapektezol.com/swagger.json',
21 dom_id: '#swagger-ui',
22 });
23 };
24 </script>
25</body>
26</html> \ No newline at end of file