Skip to content

Commit

Permalink
update api file
Browse files Browse the repository at this point in the history
  • Loading branch information
scglwsj committed Sep 17, 2024
1 parent 7328ec3 commit b38fffe
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions api/quiz_ms-test-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,39 @@ paths:
'*/*':
schema:
$ref: "#/components/schemas/TestMcqDetailResponse"
/v1/tests/{testId}/mcqs/me:
get:
summary: "GET v1/tests/{testId}/mcqs/me"
operationId: "getMyTestMcqDetail"
parameters:
- name: "testId"
in: "path"
required: true
schema:
type: "integer"
format: "int64"
- name: "x-user-id"
in: "header"
required: true
schema:
type: "string"
- name: "x-user-email"
in: "header"
required: true
schema:
type: "string"
- name: "x-user-roles"
in: "header"
required: true
schema:
type: "string"
responses:
"200":
description: "OK"
content:
'*/*':
schema:
$ref: "#/components/schemas/TestMcqDetailResponse"
/v1/tests/{testId}/students:
get:
summary: "GET v1/tests/{testId}/students"
Expand Down

0 comments on commit b38fffe

Please sign in to comment.