From 6caf471de122a486cc15ed4aad84b66a799f2762 Mon Sep 17 00:00:00 2001
From: nart4hire <13520129@std.stei.itb.ac.id>
Date: Thu, 4 May 2023 03:11:15 +0700
Subject: [PATCH] feat(swag): updated documentation

---
 docs/docs.go      | 6 ------
 docs/swagger.json | 6 ------
 docs/swagger.yaml | 5 -----
 3 files changed, 17 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index b498e6d..5355131 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -2729,9 +2729,7 @@ const docTemplate = `{
             "description": "Information that should be available when you add a course",
             "type": "object",
             "required": [
-                "abbreviation",
                 "email",
-                "lecturer",
                 "name"
             ],
             "properties": {
@@ -2748,10 +2746,6 @@ const docTemplate = `{
                     "type": "string",
                     "example": "someone@example.com"
                 },
-                "lecturer": {
-                    "description": "Course Lecturer",
-                    "type": "string"
-                },
                 "majabbr": {
                     "description": "Course Major Abbreviation",
                     "type": "string"
diff --git a/docs/swagger.json b/docs/swagger.json
index 35bc431..1ac89a2 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -2721,9 +2721,7 @@
             "description": "Information that should be available when you add a course",
             "type": "object",
             "required": [
-                "abbreviation",
                 "email",
-                "lecturer",
                 "name"
             ],
             "properties": {
@@ -2740,10 +2738,6 @@
                     "type": "string",
                     "example": "someone@example.com"
                 },
-                "lecturer": {
-                    "description": "Course Lecturer",
-                    "type": "string"
-                },
                 "majabbr": {
                     "description": "Course Major Abbreviation",
                     "type": "string"
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 5776745..83c7b97 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -102,9 +102,6 @@ definitions:
         description: Contributor Email
         example: someone@example.com
         type: string
-      lecturer:
-        description: Course Lecturer
-        type: string
       majabbr:
         description: Course Major Abbreviation
         type: string
@@ -118,9 +115,7 @@ definitions:
         description: Web Token that was appended to the link
         type: string
     required:
-    - abbreviation
     - email
-    - lecturer
     - name
     type: object
   faculty.AddFacultyRequestPayload:
-- 
GitLab