You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @Description "Returns paginated list of sections of all the courses matching the query's string-typed key-value pairs. See former_offset and latter_offset for pagination details."
143
147
// @Produce json
144
148
// @Param former_offset query number false "The starting position of the current page of courses (e.g. For starting at the 17th course, former_offset=16)."
// @Description "Returns the all of the sections of the course with given ID"
170
175
// @Produce json
171
176
// @Param id path string true "ID of the course to get"
@@ -248,6 +253,7 @@ func courseSection(flag string, c *gin.Context) {
248
253
249
254
// @Id courseProfessorSearch
250
255
// @Router /course/professors [get]
256
+
// @Tags Courses
251
257
// @Description "Returns paginated list of professors of all the courses matching the query's string-typed key-value pairs. See former_offset and latter_offset for pagination details."
252
258
// @Produce json
253
259
// @Param former_offset query number false "The starting position of the current page of courses (e.g. For starting at the 17th course, former_offset=16)."
// @Description "Returns all of the given course's sections. Specialized high-speed convenience endpoint for UTD Trends internal use; limited query flexibility."
398
406
// @Produce json
399
407
// @Param course_number query string true "The course's official number"
// @Description "Returns paginated list of the courses of all the professors matching the query's string-typed key-value pairs. See former_offset and latter_offset for pagination details."
153
157
// @Produce json
154
158
// @Param former_offset query number false "The starting position of the current page of professors (e.g. For starting at the 17th professor, former_offset=16)."
// @Description "Returns all the courses taught by the professor with given ID"
188
193
// @Produce json
189
194
// @Param id path string true "ID of the professor to get"
@@ -282,6 +287,7 @@ func professorCourse(flag string, c *gin.Context) {
282
287
283
288
// @Id professorSectionSearch
284
289
// @Router /professor/sections [get]
290
+
// @Tags Professors
285
291
// @Description "Returns paginated list of the sections of all the professors matching the query's string-typed key-value pairs. See former_offset and latter_offset for pagination details."
286
292
// @Produce json
287
293
// @Param former_offset query number false "The starting position of the current page of professors (e.g. For starting at the 17th professor, former_offset=16)."
// @Description "Returns all of the given professor's sections. Specialized high-speed convenience endpoint for UTD Trends internal use; limited query flexibility."
437
445
// @Produce json
438
446
// @Param first_name query string true "The professor's first name"
Copy file name to clipboardExpand all lines: api/controllers/rooms.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ var buildingCollection *mongo.Collection = configs.GetCollection("rooms")
19
19
20
20
// @Id rooms
21
21
// @Router /rooms [get]
22
+
// @Tags Events
22
23
// @Description "Returns all schedulable rooms being used in the current and futures semesters from CourseBook, Astra, and Mazevo"
23
24
// @Produce json
24
25
// @Success 200 {object} schema.APIResponse[[]schema.BuildingRooms] "All schedulable rooms being used in the current and futures semesters from CourseBook, Astra, and Mazevo"
// @Description "Returns paginated list of courses of all the sections matching the query's string-typed key-value pairs. See former_offset and latter_offset for pagination details."
125
128
// @Produce json
126
129
// @Param former_offset query number false "The starting position of the current page of sections (e.g. For starting at the 16th section, former_offset=16)."
// @Description "Returns the course of the section with given ID"
161
165
// @Produce json
162
166
// @Param id path string true "ID of the section to get"
@@ -248,6 +252,7 @@ func sectionCourse(flag string, c *gin.Context) {
248
252
249
253
// @Id sectionProfessorSearch
250
254
// @Router /section/professors [get]
255
+
// @Tags Sections
251
256
// @Description "Returns paginated list of professors of all the sections matching the query's string-typed key-value pairs. See former_offset and latter_offset for pagination details."
252
257
// @Produce json
253
258
// @Param former_offset query number false "The starting position of the current page of sections (e.g. For starting at the 16th sections, former_offset=16)."
0 commit comments