Exam create 결과 목록으로

This commit is contained in:
2023-11-24 18:21:53 +09:00
parent d354dbb27f
commit 0e40067c5d
4 changed files with 36 additions and 28 deletions

View File

@ -129,7 +129,7 @@ const docTemplate = `{
}
},
"put": {
"description": "퀴즈 프로그램을 수정합니다.",
"description": "응시를 수정합니다.",
"consumes": [
"application/json"
],
@ -139,7 +139,7 @@ const docTemplate = `{
"tags": [
"Exam"
],
"summary": "퀴즈 프로그램 수정",
"summary": "응시 수정",
"parameters": [
{
"description": "Exam Update Body",
@ -187,13 +187,16 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/learnsteam_learsteam-quiz-api_internal_models.ExamResponse"
"type": "array",
"items": {
"$ref": "#/definitions/learnsteam_learsteam-quiz-api_internal_models.Exam"
}
}
}
}
},
"patch": {
"description": "퀴즈 프로그램 정보를 변경합니다.",
"description": "응시 정보를 변경합니다.",
"consumes": [
"application/json"
],
@ -203,7 +206,7 @@ const docTemplate = `{
"tags": [
"Exam"
],
"summary": "퀴즈 프로그램 정보 변경",
"summary": "응시 정보 변경",
"parameters": [
{
"description": "Exam Patch Body (변경할 필드만 입력)",
@ -237,7 +240,7 @@ const docTemplate = `{
"tags": [
"Exam"
],
"summary": "응시(시험) 정보 가져오기",
"summary": "응시 정보 가져오기",
"parameters": [
{
"type": "string",

View File

@ -121,7 +121,7 @@
}
},
"put": {
"description": "퀴즈 프로그램을 수정합니다.",
"description": "응시를 수정합니다.",
"consumes": [
"application/json"
],
@ -131,7 +131,7 @@
"tags": [
"Exam"
],
"summary": "퀴즈 프로그램 수정",
"summary": "응시 수정",
"parameters": [
{
"description": "Exam Update Body",
@ -179,13 +179,16 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/learnsteam_learsteam-quiz-api_internal_models.ExamResponse"
"type": "array",
"items": {
"$ref": "#/definitions/learnsteam_learsteam-quiz-api_internal_models.Exam"
}
}
}
}
},
"patch": {
"description": "퀴즈 프로그램 정보를 변경합니다.",
"description": "응시 정보를 변경합니다.",
"consumes": [
"application/json"
],
@ -195,7 +198,7 @@
"tags": [
"Exam"
],
"summary": "퀴즈 프로그램 정보 변경",
"summary": "응시 정보 변경",
"parameters": [
{
"description": "Exam Patch Body (변경할 필드만 입력)",
@ -229,7 +232,7 @@
"tags": [
"Exam"
],
"summary": "응시(시험) 정보 가져오기",
"summary": "응시 정보 가져오기",
"parameters": [
{
"type": "string",

View File

@ -501,7 +501,7 @@ paths:
patch:
consumes:
- application/json
description: 퀴즈 프로그램 정보를 변경합니다.
description: 응시 정보를 변경합니다.
parameters:
- description: Exam Patch Body (변경할 필드만 입력)
in: body
@ -516,7 +516,7 @@ paths:
description: OK
schema:
$ref: '#/definitions/learnsteam_learsteam-quiz-api_internal_models.ExamResponse'
summary: 퀴즈 프로그램 정보 변경
summary: 응시 정보 변경
tags:
- Exam
post:
@ -536,14 +536,16 @@ paths:
"200":
description: OK
schema:
$ref: '#/definitions/learnsteam_learsteam-quiz-api_internal_models.ExamResponse'
items:
$ref: '#/definitions/learnsteam_learsteam-quiz-api_internal_models.Exam'
type: array
summary: 응시 매칭 생성
tags:
- Exam
put:
consumes:
- application/json
description: 퀴즈 프로그램을 수정합니다.
description: 응시를 수정합니다.
parameters:
- description: Exam Update Body
in: body
@ -558,7 +560,7 @@ paths:
description: OK
schema:
$ref: '#/definitions/learnsteam_learsteam-quiz-api_internal_models.ExamResponse'
summary: 퀴즈 프로그램 수정
summary: 응시 수정
tags:
- Exam
/exam/{id}:
@ -579,7 +581,7 @@ paths:
description: OK
schema:
$ref: '#/definitions/learnsteam_learsteam-quiz-api_internal_models.ExamResponse'
summary: 응시(시험) 정보 가져오기
summary: 응시 정보 가져오기
tags:
- Exam
/program: