Skip to content

Commit

Permalink
docs: add properties for api schema
Browse files Browse the repository at this point in the history
  • Loading branch information
murka committed Dec 30, 2023
1 parent f0fc931 commit 21fb92c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/shadowbox/server/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,16 @@ paths:
schema:
type: object
properties:
name:
type: string
method:
type: string
password:
type: string
port:
type: integer
dataLimit:
$ref: "#/components/schemas/DataLimit"
examples:
'0':
value: '{"method":"aes-192-gcm","name":"First","password":"8iu8V8EeoFVpwQvQeS9wiD","limit":{"bytes":10000}}'
Expand Down

0 comments on commit 21fb92c

Please sign in to comment.