Skip to content

Commit

Permalink
Fix wrong schema
Browse files Browse the repository at this point in the history
  • Loading branch information
d-yoshi committed May 4, 2024
1 parent ff478b7 commit 0783579
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/components/schemas/Issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ required:
- is_private
- estimated_hours
- total_estimated_hours
- spent_hours
- total_spent_hours
- created_on
- updated_on
- closed_on
Expand Down
2 changes: 1 addition & 1 deletion src/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.4.0
version: 0.5.0

servers:
- url: /
Expand Down
7 changes: 6 additions & 1 deletion src/paths/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,12 @@ post:
content:
application/json:
schema:
$ref: ../components/schemas/Project.yml
type: object
required:
- project
properties:
project:
$ref: ../components/schemas/Project.yml
422:
description: ""
content:
Expand Down

0 comments on commit 0783579

Please sign in to comment.