quiz delete

This commit is contained in:
2024-01-15 23:08:05 +09:00
parent d9ecd65d75
commit b00eb7ac01
6 changed files with 113 additions and 1 deletions

View File

@ -407,6 +407,34 @@ const docTemplate = `{
}
}
}
},
"delete": {
"security": [
{
"Bearer": []
}
],
"description": "퀴즈를 삭제합니다.",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"퀴즈"
],
"summary": "퀴즈 삭제",
"parameters": [
{
"type": "integer",
"description": "Quiz ID",
"name": "id",
"in": "path",
"required": true
}
],
"responses": {}
}
},
"/quizpaper": {

View File

@ -399,6 +399,34 @@
}
}
}
},
"delete": {
"security": [
{
"Bearer": []
}
],
"description": "퀴즈를 삭제합니다.",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"퀴즈"
],
"summary": "퀴즈 삭제",
"parameters": [
{
"type": "integer",
"description": "Quiz ID",
"name": "id",
"in": "path",
"required": true
}
],
"responses": {}
}
},
"/quizpaper": {

View File

@ -908,6 +908,24 @@ paths:
tags:
- 퀴즈
/quiz/{id}:
delete:
consumes:
- application/json
description: 퀴즈를 삭제합니다.
parameters:
- description: Quiz ID
in: path
name: id
required: true
type: integer
produces:
- application/json
responses: {}
security:
- Bearer: []
summary: 퀴즈 삭제
tags:
- 퀴즈
get:
consumes:
- application/json