#%RAML 1.0 put: displayName: 教师更新课程信息 is: [response: { typeName: Course }] body: application/json: type: CourseDTOWithId /student: get: displayName: 学生获取所选课程列表信息 is: [response: { typeName: 'Course[]' }] /teacher: get: displayName: 教师获取所创建列表信息 is: [response: { typeName: 'Course[]' }] post: displayName: 教师创建课程 body: application/json: type: CourseDTO is: [response: { typeName: Course }] /register: post: displayName: 学生选课 body: application/json: type: object properties: code: string is: [response: { typeName: Course }] /course/{courseId}: uriParameters: courseId: description: 课程id type: integer get: displayName: 学生获取所选课程的信息 is: [response: { typeName: Course }]