GestionHoraire #6

Merged
Wal merged 5 commits from GestionHoraire into master 2023-12-13 15:00:49 +01:00
Showing only changes of commit 93ec63beae - Show all commits

View File

@ -508,7 +508,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Request'
$ref: '#/components/schemas/ScheduleRequest'
patch:
summary : Modify request
tags:
@ -727,7 +727,7 @@ components:
"duration": 1.5,
"classroom": "AMPHI01",
"course": }
Request:
ScheduleRequest:
type: object
properties:
id:
@ -736,12 +736,29 @@ components:
type: string
lessonId:
type: integer
description: In the ADD case, lessonId is null
teacherId:
type: integer
newDate:
type: string
description: Follow the iso 8601 ("YYYY-MM-DD")
newClassroom:
type: string
newCourse:
type: string
description: In the ADD case, correspond to the name of the course to add
example:
{
"id": 12,
"requestType": "delete",
"lessonId": 72
"requestType": "moveLesson",
"lessonId": 52,
"teacherId": 12,
"newDate": "2023-12-20",
"newClassroom":,
"newCourse":,
}
Display:
type: object
properties: