Skip to content

Commit

Permalink
Update user_account_operations.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
r350178982 committed Mar 5, 2024
1 parent 8b2e300 commit eefe9cf
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions api/user_account_operations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,7 @@ components:

newname:
type: string
description: the new name of the directory.
default: newfolder
description: the new name of the directory / file.

commit_id:
type: string
Expand Down Expand Up @@ -407,9 +406,14 @@ components:
type: string
enum: [rename]
newname:
$ref: '#/components/schemas/newname'


$ref: '#/components/schemas/new_name'

file_operation:
oneOf:
- $ref: '#/components/schemas/file_operation_create'
- $ref: '#/components/schemas/file_operation_copy'
- $ref: '#/components/schemas/file_operation_move'
- $ref: '#/components/schemas/file_operation_rename'

file_lock_operation:
title: 'operation'
Expand All @@ -419,7 +423,6 @@ components:
- unlock
example: "lock"


new_name:
title: 'newname'
type: string
Expand Down Expand Up @@ -1697,13 +1700,9 @@ paths:
- $ref: '#/components/parameters/p'
requestBody:
content:
multipart/form-data:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/file_operation_create'
- $ref: '#/components/schemas/file_operation_rename'
- $ref: '#/components/schemas/file_operation_move'
- $ref: '#/components/schemas/file_operation_copy'
$ref: '#/components/schemas/file_operation'
responses:
'200':
description: OK
Expand Down

0 comments on commit eefe9cf

Please sign in to comment.