Feat: finish object storage

This commit is contained in:
2025-12-07 21:24:33 +08:00
parent b609421a6e
commit 203a787063
16 changed files with 232 additions and 48 deletions

View File

@@ -143,10 +143,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
"$ref": "#/definitions/api.putImageAliasesInput"
}
}
],
@@ -285,6 +282,17 @@ const docTemplate = `{
}
}
},
"api.putImageAliasesInput": {
"type": "object",
"properties": {
"aliases": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"auth.postGenLoginUrlInput": {
"type": "object",
"properties": {

View File

@@ -135,10 +135,7 @@
"in": "body",
"required": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
"$ref": "#/definitions/api.putImageAliasesInput"
}
}
],
@@ -277,6 +274,17 @@
}
}
},
"api.putImageAliasesInput": {
"type": "object",
"properties": {
"aliases": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"auth.postGenLoginUrlInput": {
"type": "object",
"properties": {

View File

@@ -20,6 +20,13 @@ definitions:
uploadedUserId:
type: string
type: object
api.putImageAliasesInput:
properties:
aliases:
items:
type: string
type: array
type: object
auth.postGenLoginUrlInput:
properties:
userId:
@@ -127,9 +134,7 @@ paths:
name: payload
required: true
schema:
items:
type: string
type: array
$ref: '#/definitions/api.putImageAliasesInput'
responses:
"200":
description: OK