Updated schema

This commit is contained in:
Keannu Bernasol 2023-07-27 00:17:35 +08:00
parent accf87e332
commit a608db275c
2 changed files with 4 additions and 8 deletions

View file

@ -28,7 +28,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = str(os.getenv('SECRET_KEY'))
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
FRONTEND_DEBUG = False
ALLOWED_HOSTS = ['*']

View file

@ -910,7 +910,6 @@ components:
type: array
items:
type: string
nullable: true
avatar:
type: string
format: uri
@ -923,11 +922,9 @@ components:
maxLength: 100
irregular:
type: boolean
readOnly: true
required:
- course_shortname
- first_name
- irregular
- last_name
- semester_shortname
- student_id_number
@ -1023,7 +1020,6 @@ components:
type: array
items:
type: string
nullable: true
avatar:
type: string
format: uri
@ -1036,7 +1032,6 @@ components:
maxLength: 100
irregular:
type: boolean
readOnly: true
PatchedStudentStatus:
type: object
properties:
@ -1179,8 +1174,9 @@ components:
id:
type: integer
readOnly: true
subject:
name:
type: string
maxLength: 64
code:
type: string
maxLength: 16
@ -1197,8 +1193,8 @@ components:
- code
- course
- id
- name
- semester
- subject
- year_level
TokenObtainPair:
type: object