aboutsummaryrefslogtreecommitdiff
path: root/backend/docs
diff options
context:
space:
mode:
Diffstat (limited to 'backend/docs')
-rw-r--r--backend/docs/docs.go16
-rw-r--r--backend/docs/swagger.json16
-rw-r--r--backend/docs/swagger.yaml12
3 files changed, 6 insertions, 38 deletions
diff --git a/backend/docs/docs.go b/backend/docs/docs.go
index c4b2801..5327961 100644
--- a/backend/docs/docs.go
+++ b/backend/docs/docs.go
@@ -771,18 +771,6 @@ const docTemplate = `{
771 "description": "Partner Demo", 771 "description": "Partner Demo",
772 "name": "partner_demo", 772 "name": "partner_demo",
773 "in": "formData" 773 "in": "formData"
774 },
775 {
776 "type": "boolean",
777 "description": "Is Partner Orange",
778 "name": "is_partner_orange",
779 "in": "formData"
780 },
781 {
782 "type": "string",
783 "description": "Partner ID",
784 "name": "partner_id",
785 "in": "formData"
786 } 774 }
787 ], 775 ],
788 "responses": { 776 "responses": {
@@ -2233,8 +2221,8 @@ var SwaggerInfo = &swag.Spec{
2233 Host: "lp.ardapektezol.com", 2221 Host: "lp.ardapektezol.com",
2234 BasePath: "/api/v1", 2222 BasePath: "/api/v1",
2235 Schemes: []string{}, 2223 Schemes: []string{},
2236 Title: "Least Portals Database API", 2224 Title: "Least Portals Hub",
2237 Description: "Backend API endpoints for the Least Portals Database.", 2225 Description: "Backend API endpoints for Least Portals Hub.",
2238 InfoInstanceName: "swagger", 2226 InfoInstanceName: "swagger",
2239 SwaggerTemplate: docTemplate, 2227 SwaggerTemplate: docTemplate,
2240 LeftDelim: "{{", 2228 LeftDelim: "{{",
diff --git a/backend/docs/swagger.json b/backend/docs/swagger.json
index 7613d2c..94a0213 100644
--- a/backend/docs/swagger.json
+++ b/backend/docs/swagger.json
@@ -1,8 +1,8 @@
1{ 1{
2 "swagger": "2.0", 2 "swagger": "2.0",
3 "info": { 3 "info": {
4 "description": "Backend API endpoints for the Least Portals Database.", 4 "description": "Backend API endpoints for Least Portals Hub.",
5 "title": "Least Portals Database API", 5 "title": "Least Portals Hub",
6 "contact": {}, 6 "contact": {},
7 "license": { 7 "license": {
8 "name": "GNU Affero General Public License, Version 3", 8 "name": "GNU Affero General Public License, Version 3",
@@ -765,18 +765,6 @@
765 "description": "Partner Demo", 765 "description": "Partner Demo",
766 "name": "partner_demo", 766 "name": "partner_demo",
767 "in": "formData" 767 "in": "formData"
768 },
769 {
770 "type": "boolean",
771 "description": "Is Partner Orange",
772 "name": "is_partner_orange",
773 "in": "formData"
774 },
775 {
776 "type": "string",
777 "description": "Partner ID",
778 "name": "partner_id",
779 "in": "formData"
780 } 768 }
781 ], 769 ],
782 "responses": { 770 "responses": {
diff --git a/backend/docs/swagger.yaml b/backend/docs/swagger.yaml
index 22651e3..26d28b1 100644
--- a/backend/docs/swagger.yaml
+++ b/backend/docs/swagger.yaml
@@ -548,11 +548,11 @@ definitions:
548host: lp.ardapektezol.com 548host: lp.ardapektezol.com
549info: 549info:
550 contact: {} 550 contact: {}
551 description: Backend API endpoints for the Least Portals Database. 551 description: Backend API endpoints for Least Portals Hub.
552 license: 552 license:
553 name: GNU Affero General Public License, Version 3 553 name: GNU Affero General Public License, Version 3
554 url: https://www.gnu.org/licenses/agpl-3.0.html 554 url: https://www.gnu.org/licenses/agpl-3.0.html
555 title: Least Portals Database API 555 title: Least Portals Hub
556 version: "1.0" 556 version: "1.0"
557paths: 557paths:
558 /chapters/{chapterid}: 558 /chapters/{chapterid}:
@@ -1007,14 +1007,6 @@ paths:
1007 in: formData 1007 in: formData
1008 name: partner_demo 1008 name: partner_demo
1009 type: file 1009 type: file
1010 - description: Is Partner Orange
1011 in: formData
1012 name: is_partner_orange
1013 type: boolean
1014 - description: Partner ID
1015 in: formData
1016 name: partner_id
1017 type: string
1018 produces: 1010 produces:
1019 - application/json 1011 - application/json
1020 responses: 1012 responses: