Feat: add more tests
This commit is contained in:
@@ -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}:
|
||||
|
||||
Reference in New Issue
Block a user