Skip to content

Commit

Permalink
apidocs: add missing authentication-related parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Aug 4, 2024
1 parent 547e56e commit 6f833d3
Showing 1 changed file with 40 additions and 20 deletions.
60 changes: 40 additions & 20 deletions apidocs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,30 @@ components:
error:
type: string

AuthInternalUser:
type: object
properties:
user:
type: string
pass:
type: string
ips:
type: array
items:
type: string
permissions:
type: array
items:
$ref: '#/components/schemas/AuthInternalUserPermission'

AuthInternalUserPermission:
type: object
properties:
action:
type: string
path:
type: string

GlobalConf:
type: object
properties:
Expand All @@ -41,15 +65,29 @@ components:
type: integer
udpMaxPayloadSize:
type: integer
externalAuthenticationURL:
type: string
runOnConnect:
type: string
runOnConnectRestart:
type: boolean
runOnDisconnect:
type: string

# Authentication
authMethod:
type: string
authInternalUsers:
type: array
items:
$ref: '#/components/schemas/AuthInternalUser'
authHTTPAddress:
type: string
authHTTPExclude:
type: array
items:
$ref: '#/components/schemas/AuthInternalUserPermission'
authJWTJWKS:
type: string

# Control API
api:
type: boolean
Expand Down Expand Up @@ -295,24 +333,6 @@ components:
recordDeleteAfter:
type: string

# Authentication
publishUser:
type: string
publishPass:
type: string
publishIPs:
type: array
items:
type: string
readUser:
type: string
readPass:
type: string
readIPs:
type: array
items:
type: string

# Publisher source
overridePublisher:
type: boolean
Expand Down

0 comments on commit 6f833d3

Please sign in to comment.