paperquiz response 수정

This commit is contained in:
2024-02-19 22:58:00 +09:00
parent 05292be591
commit 0bac2bc670
5 changed files with 235 additions and 9 deletions

View File

@ -246,7 +246,7 @@ func (controller *paperController) Finish(c *gin.Context) {
// @Param page query int false "페이지"
// @Param limit query int false "페이지 사이즈"
//
// @Success 200 {object} models.UserQuizListResponse
// @Success 200 {object} models.PaperQuizListResponse
// @Router /paper/{paper_id}/quiz [get]
func (controller *paperController) QuizList(c *gin.Context) {
paper_id, err := strconv.ParseInt(c.Param("paper_id"), 10, 64)
@ -299,7 +299,7 @@ func (controller *paperController) QuizList(c *gin.Context) {
// @Param paper_id path string true "Paper ID"
// @Param quiz_id path string true "사용자퀴즈 ID"
//
// @Success 200 {object} models.UserQuizResponse
// @Success 200 {object} models.PaperQuizResponse
// @Router /paper/{paper_id}/quiz/{quiz_id} [get]
func (controller *paperController) QuizFind(c *gin.Context) {
paper_id, err := strconv.ParseInt(c.Param("paper_id"), 10, 64)