Skip to content

Commit

Permalink
edit OpenAPI schema
Browse files Browse the repository at this point in the history
  • Loading branch information
azbcww committed Dec 5, 2023
1 parent d62fa79 commit 47df0e8
Showing 1 changed file with 45 additions and 5 deletions.
50 changes: 45 additions & 5 deletions docs/v3-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/Stamp'
$ref: '#/components/schemas/StampWithThumbnail'
operationId: getStamps
tags:
- stamp
Expand Down Expand Up @@ -4765,9 +4765,6 @@ components:
isUnicode:
type: boolean
description: Unicode絵文字か
hasThumbnail:
type: boolean
description: サムネイルの有無
required:
- id
- name
Expand All @@ -4776,7 +4773,6 @@ components:
- updatedAt
- fileId
- isUnicode
- hasThumbnail
PostStampRequest:
title: PostStampRequest
type: object
Expand Down Expand Up @@ -4809,6 +4805,50 @@ components:
required:
- stampId
- datetime
StampWithThumbnail:
title: StampWithThumbnail
type: object
description: スタンプ情報とサムネイルの有無
properties:
id:
type: string
format: uuid
description: スタンプUUID
name:
type: string
description: スタンプ名
pattern: '^[a-zA-Z0-9_-]{1,32}$'
creatorId:
type: string
description: 作成者UUID
format: uuid
createdAt:
type: string
description: 作成日時
format: date-time
updatedAt:
type: string
description: 更新日時
format: date-time
fileId:
type: string
format: uuid
description: ファイルUUID
isUnicode:
type: boolean
description: Unicode絵文字か
hasThumbnail:
type: boolean
description: サムネイルの有無
required:
- id
- name
- creatorId
- createdAt
- updatedAt
- fileId
- isUnicode
- hasThumbnail
User:
title: User
type: object
Expand Down

0 comments on commit 47df0e8

Please sign in to comment.