mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Updated schema
This commit is contained in:
parent
accf87e332
commit
a608db275c
2 changed files with 4 additions and 8 deletions
|
@ -28,7 +28,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
SECRET_KEY = str(os.getenv('SECRET_KEY'))
|
SECRET_KEY = str(os.getenv('SECRET_KEY'))
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = False
|
||||||
FRONTEND_DEBUG = False
|
FRONTEND_DEBUG = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
|
@ -910,7 +910,6 @@ components:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
|
||||||
avatar:
|
avatar:
|
||||||
type: string
|
type: string
|
||||||
format: uri
|
format: uri
|
||||||
|
@ -923,11 +922,9 @@ components:
|
||||||
maxLength: 100
|
maxLength: 100
|
||||||
irregular:
|
irregular:
|
||||||
type: boolean
|
type: boolean
|
||||||
readOnly: true
|
|
||||||
required:
|
required:
|
||||||
- course_shortname
|
- course_shortname
|
||||||
- first_name
|
- first_name
|
||||||
- irregular
|
|
||||||
- last_name
|
- last_name
|
||||||
- semester_shortname
|
- semester_shortname
|
||||||
- student_id_number
|
- student_id_number
|
||||||
|
@ -1023,7 +1020,6 @@ components:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
|
||||||
avatar:
|
avatar:
|
||||||
type: string
|
type: string
|
||||||
format: uri
|
format: uri
|
||||||
|
@ -1036,7 +1032,6 @@ components:
|
||||||
maxLength: 100
|
maxLength: 100
|
||||||
irregular:
|
irregular:
|
||||||
type: boolean
|
type: boolean
|
||||||
readOnly: true
|
|
||||||
PatchedStudentStatus:
|
PatchedStudentStatus:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -1179,8 +1174,9 @@ components:
|
||||||
id:
|
id:
|
||||||
type: integer
|
type: integer
|
||||||
readOnly: true
|
readOnly: true
|
||||||
subject:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
maxLength: 64
|
||||||
code:
|
code:
|
||||||
type: string
|
type: string
|
||||||
maxLength: 16
|
maxLength: 16
|
||||||
|
@ -1197,8 +1193,8 @@ components:
|
||||||
- code
|
- code
|
||||||
- course
|
- course
|
||||||
- id
|
- id
|
||||||
|
- name
|
||||||
- semester
|
- semester
|
||||||
- subject
|
|
||||||
- year_level
|
- year_level
|
||||||
TokenObtainPair:
|
TokenObtainPair:
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Reference in a new issue