diff --git a/schema/openapi.yml b/schema/openapi.yml index c757697..0fa3133 100644 --- a/schema/openapi.yml +++ b/schema/openapi.yml @@ -22,6 +22,10 @@ components: security: - Bearer: [] +tags: + - name: forms + description: フォーム操作に関連するAPI + paths: /forms: $ref: "./paths/forms/index.yml" diff --git a/schema/paths/forms/[formId]/answers/index.yml b/schema/paths/forms/[formId]/answers/index.yml index 98ffaf3..66930a9 100644 --- a/schema/paths/forms/[formId]/answers/index.yml +++ b/schema/paths/forms/[formId]/answers/index.yml @@ -1,4 +1,6 @@ get: + tags: + - forms operationId: getFormAnswers summary: 指定したフォームのすべての回答を取得する parameters: diff --git a/schema/paths/forms/[formId]/index.yml b/schema/paths/forms/[formId]/index.yml index 31d01ac..c1465b4 100644 --- a/schema/paths/forms/[formId]/index.yml +++ b/schema/paths/forms/[formId]/index.yml @@ -1,4 +1,6 @@ get: + tags: + - forms operationId: getForm summary: フォームの詳細を取得する parameters: @@ -20,6 +22,8 @@ get: $ref: "../../../errors/errorResponses.yml#/components/responses/internalServerError" delete: + tags: + - forms operationId: deleteForm summary: フォームを削除する parameters: @@ -43,6 +47,8 @@ delete: $ref: "../../../errors/errorResponses.yml#/components/responses/internalServerError" patch: + tags: + - forms operationId: updateForm summary: フォームの値を更新する parameters: diff --git a/schema/paths/forms/[formId]/questions/index.yml b/schema/paths/forms/[formId]/questions/index.yml index dfb5319..0f8072b 100644 --- a/schema/paths/forms/[formId]/questions/index.yml +++ b/schema/paths/forms/[formId]/questions/index.yml @@ -1,4 +1,6 @@ get: + tags: + - forms operationId: getQuestions summary: 質問の取得 description: 指定したフォームの質問をすべて取得します。 diff --git a/schema/paths/forms/answers/comment/index.yml b/schema/paths/forms/answers/comment/index.yml index 60bc725..d29fae1 100644 --- a/schema/paths/forms/answers/comment/index.yml +++ b/schema/paths/forms/answers/comment/index.yml @@ -1,4 +1,6 @@ post: + tags: + - forms operationId: addComment summary: 回答に対してコメントを残す requestBody: @@ -21,6 +23,8 @@ post: $ref: "../../../../errors/errorResponses.yml#/components/responses/internalServerError" delete: + tags: + - forms operationId: deleteComment summary: コメントを削除する requestBody: @@ -45,6 +49,8 @@ delete: $ref: "../../../../errors/errorResponses.yml#/components/responses/internalServerError" patch: + tags: + - forms operationId: editComment summary: コメントを編集する requestBody: diff --git a/schema/paths/forms/answers/index.yml b/schema/paths/forms/answers/index.yml index 74b1299..db47b12 100644 --- a/schema/paths/forms/answers/index.yml +++ b/schema/paths/forms/answers/index.yml @@ -1,4 +1,6 @@ get: + tags: + - forms operationId: getAllAnswers summary: フォームの回答をすべて取得する responses: @@ -20,6 +22,8 @@ get: $ref: "../../../errors/errorResponses.yml#/components/responses/internalServerError" post: + tags: + - forms operationId: postFormAnswers summary: 指定フォームに対して回答する requestBody: diff --git a/schema/paths/forms/index.yml b/schema/paths/forms/index.yml index bdb0fb5..6ce01f8 100644 --- a/schema/paths/forms/index.yml +++ b/schema/paths/forms/index.yml @@ -1,4 +1,6 @@ post: + tags: + - forms operationId: createForm summary: フォームの新規作成 description: | @@ -33,6 +35,8 @@ post: "500": $ref: "../../errors/errorResponses.yml#/components/responses/internalServerError" get: + tags: + - forms operationId: listForms summary: フォームの一覧を取得する description: | diff --git a/schema/paths/forms/labels/index.yml b/schema/paths/forms/labels/index.yml index c21ea64..eb2b18f 100644 --- a/schema/paths/forms/labels/index.yml +++ b/schema/paths/forms/labels/index.yml @@ -1,4 +1,6 @@ get: + tags: + - forms operationId: getFormLabels summary: 指定した種類のラベルをすべて取得する description: 指定されたものに対してつけられるラベルをすべて取得する @@ -19,6 +21,8 @@ get: $ref: "../../../errors/errorResponses.yml#/components/responses/internalServerError" post: + tags: + - forms operationId: createFormLabel summary: ラベルを作成する description: ラベルを新規作成する @@ -42,6 +46,8 @@ post: $ref: "../../../errors/errorResponses.yml#/components/responses/internalServerError" delete: + tags: + - forms operationId: deleteFormLabel summary: ラベルを削除する description: 作成済みのラベルを削除する diff --git a/schema/paths/forms/questions/index.yml b/schema/paths/forms/questions/index.yml index c124613..c2f5d99 100644 --- a/schema/paths/forms/questions/index.yml +++ b/schema/paths/forms/questions/index.yml @@ -1,4 +1,6 @@ post: + tags: + - forms operationId: createQuestion summary: 質問の新規作成 description: | @@ -27,6 +29,8 @@ post: $ref: "../../../errors/errorResponses.yml#/components/responses/internalServerError" delete: + tags: + - forms operationId: deleteQuestion summary: 質問を削除する description: 作成済みの質問を削除する