Skip to content

Commit

Permalink
Merge pull request #12 from GiganticMinecraft/fix/ref
Browse files Browse the repository at this point in the history
fix: fix ref
  • Loading branch information
Lucky3028 authored Dec 9, 2022
2 parents 531e687 + 2de0f3f commit cb024d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion schema/paths/forms/eachForm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ get:
content:
application/json:
schema:
$ref: './form.yml#/schemas/form'
$ref: './types/form.yml#/schemas/form'
'404':
description: フォームが存在しない
10 changes: 5 additions & 5 deletions schema/paths/forms/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cb024d5

Please sign in to comment.