Skip to content

Commit

Permalink
Merge pull request #2 from itl-marubu/feature/tanzaku-upload-and-down…
Browse files Browse the repository at this point in the history
…load

update openapi
  • Loading branch information
mizphses authored Jun 26, 2024
2 parents e414dae + 0872bd3 commit a7f2cd8
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions src/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ paths:
security:
- bearerAuth: []

/projects/{projectId}/list:
/pub/{projectId}:
get:
operationId: getProject
tags:
Expand All @@ -134,7 +134,34 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TanzakuSchemaArray'
$ref: '#/components/schemas/ProjectSchema'
'500':
description: Internal Server Error
content:
text/plain:
schema:
$ref: '#/components/schemas/Error500'
/projects/{projectId}/list:
get:
operationId: getProjectAuthed
tags:
- Projects
summary: Get Project
description: Get a project by ID
parameters:
- name: projectId
in: path
required: true
description: ID of the project to get
schema:
type: string
responses:
'200':
description: Project found
content:
application/json:
schema:
$ref: '#/components/schemas/TanzakuResSchemaArray'
'500':
description: Internal Server Error
content:
Expand Down Expand Up @@ -228,7 +255,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TanzakuSchemaArray'
$ref: '#/components/schemas/TanzakuResSchemaArray'
'500':
description: Internal Server Error
content:
Expand Down Expand Up @@ -384,7 +411,7 @@ components:
disabled:
type: boolean
example: false
TanzakuSchemaArray:
TanzakuResSchemaArray:
type: array
items:
$ref: '#/components/schemas/TanzakuResponseSchema'
Expand Down

0 comments on commit a7f2cd8

Please sign in to comment.