diff --git a/docs/v3-api.yaml b/docs/v3-api.yaml index 19f880188..6838edfe7 100644 --- a/docs/v3-api.yaml +++ b/docs/v3-api.yaml @@ -799,7 +799,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Stamp' + $ref: '#/components/schemas/StampWithThumbnail' operationId: getStamps tags: - stamp @@ -4765,9 +4765,6 @@ components: isUnicode: type: boolean description: Unicode絵文字か - hasThumbnail: - type: boolean - description: サムネイルの有無 required: - id - name @@ -4776,7 +4773,6 @@ components: - updatedAt - fileId - isUnicode - - hasThumbnail PostStampRequest: title: PostStampRequest type: object @@ -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