mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
fix(core): update openapi.json for post user asset api (#7019)
This commit is contained in:
parent
cb261024b6
commit
14d1703b71
1 changed files with 13 additions and 0 deletions
|
@ -21,6 +21,19 @@
|
|||
"post": {
|
||||
"summary": "Upload asset",
|
||||
"description": "Upload a user asset.",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"multipart/form-data": {
|
||||
"schema": {
|
||||
"properties": {
|
||||
"file": {
|
||||
"description": "The file asset to upload."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "An object containing the uploaded asset metadata."
|
||||
|
|
Loading…
Add table
Reference in a new issue