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 all sections with meetings on the specified date in the specified building and room"
111
111
// @Produce json
112
-
// @Param date path string true "ISO date of the set of events to get"
113
-
// @Param building path string true "building abbreviation of the event location"
114
-
// @Param room path string true "room number"
115
-
// @Success 200 {object} schema.APIResponse[[]schema.SectionWithTime] "All sections with meetings on the specified date in the specified building and room"
116
-
// @Failure 500 {object} schema.APIResponse[string] "A string describing the error"
117
-
// @Failure 404 {object} schema.APIResponse[string] "A string describing the error"
112
+
// @Param date path string true "ISO date of the set of events to get"
113
+
// @Param building path string true "building abbreviation of the event location"
114
+
// @Param room path string true "room number"
115
+
// @Success 200 {object} schema.APIResponse[schema.RoomEvents[schema.SectionWithTime]] "All sections with meetings on the specified date in the specified building and room"
116
+
// @Failure 500 {object} schema.APIResponse[string] "A string describing the error"
117
+
// @Failure 404 {object} schema.APIResponse[string] "A string describing the error"
// @Description "Returns full section objects with meetings on the specified date in the specified building and room"
170
170
// @Produce json
171
-
// @Param date path string true "ISO date of the set of events to get"
172
-
// @Param building path string true "building abbreviation of the event location"
173
-
// @Param room path string true "room number"
174
-
// @Success 200 {object} schema.APIResponse[[]schema.Section] "Full section objects with meetings on the specified date in the specified building and room"
175
-
// @Failure 500 {object} schema.APIResponse[string] "A string describing the error"
176
-
// @Failure 404 {object} schema.APIResponse[string] "A string describing the error"
171
+
// @Param date path string true "ISO date of the set of events to get"
172
+
// @Param building path string true "building abbreviation of the event location"
173
+
// @Param room path string true "room number"
174
+
// @Success 200 {object} schema.APIResponse[schema.RoomEvents[schema.Section]] "Full section objects with meetings on the specified date in the specified building and room"
175
+
// @Failure 500 {object} schema.APIResponse[string] "A string describing the error"
176
+
// @Failure 404 {object} schema.APIResponse[string] "A string describing the error"
0 commit comments