diff --git a/schema/paths/forms/eachForm.yml b/schema/paths/forms/eachForm.yml index 083df07..93a4b5c 100644 --- a/schema/paths/forms/eachForm.yml +++ b/schema/paths/forms/eachForm.yml @@ -14,6 +14,6 @@ get: content: application/json: schema: - $ref: './form.yml#/schemas/form' + $ref: './types/form.yml#/schemas/form' '404': description: フォームが存在しない diff --git a/schema/paths/forms/index.yml b/schema/paths/forms/index.yml index 659f55c..dc395eb 100644 --- a/schema/paths/forms/index.yml +++ b/schema/paths/forms/index.yml @@ -10,18 +10,18 @@ post: type: object properties: id: - $ref: './form.yml#/schemas/form_id' + $ref: './types/form.yml#/schemas/form_id' '500': application/json: schema: type: object allOf: - - $ref: './form.yml#/schemas/form_dynamic_props' + - $ref: './types/form.yml#/schemas/form_dynamic_props' - properties: questions: type: array items: - $ref: './question.yml#/schemas/question_dynamic_props' + $ref: './types/question.yml#/schemas/question_dynamic_props' required: - name - questions @@ -73,8 +73,8 @@ get: allOf: - properties: id: - $ref: './form.yml#/schemas/form_id' - - $ref: './form.yml#/schemas/form_dynamic_props' + $ref: './types/form.yml#/schemas/form_id' + - $ref: './types/form.yml#/schemas/form_dynamic_props' required: - id - name