Feat: add more tests

This commit is contained in:
2025-12-07 23:59:24 +08:00
parent 1f313fc17d
commit f191aef810
17 changed files with 307 additions and 25 deletions

View File

@@ -13,6 +13,8 @@ definitions:
items:
type: integer
type: array
extension:
type: string
id:
type: integer
uploadedAt:
@@ -20,6 +22,17 @@ definitions:
uploadedUserId:
type: string
type: object
api.postImageOutput:
properties:
extension:
type: string
id:
type: integer
uploadedAt:
type: string
uploadedUserId:
type: string
type: object
api.putImageAliasesInput:
properties:
aliases:
@@ -97,6 +110,8 @@ paths:
responses:
"200":
description: OK
schema:
$ref: '#/definitions/api.postImageOutput'
"401":
description: Unauthorized
/api/image/{id}: