mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 23:24:46 -04:00
Removed unnecessary objects and flattened updateTime
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
fb29ab85bd
commit
e2eac5e042
1 changed files with 4 additions and 97 deletions
|
@ -529,12 +529,6 @@ components:
|
||||||
properties:
|
properties:
|
||||||
password:
|
password:
|
||||||
type: string
|
type: string
|
||||||
UserUpdate:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
description: The new display name of the user.
|
|
||||||
ImageProxyRequest:
|
ImageProxyRequest:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -547,89 +541,6 @@ components:
|
||||||
src:
|
src:
|
||||||
type: string
|
type: string
|
||||||
description: The url of the provied version of the image.
|
description: The url of the provied version of the image.
|
||||||
Config:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
allowAnonymous:
|
|
||||||
type: boolean
|
|
||||||
description: Whether anonymous notes are allowed.
|
|
||||||
authProviders:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
facebook:
|
|
||||||
type: boolean
|
|
||||||
description: Whether Facebook login is possible.
|
|
||||||
github:
|
|
||||||
type: boolean
|
|
||||||
description: Whether GitHub login is possible.
|
|
||||||
twitter:
|
|
||||||
type: boolean
|
|
||||||
description: Whether Twitter login is possible.
|
|
||||||
gitlab:
|
|
||||||
type: boolean
|
|
||||||
description: Whether Gitlab login is possible.
|
|
||||||
dropbox:
|
|
||||||
type: boolean
|
|
||||||
description: Whether Dropbox login is possible.
|
|
||||||
google:
|
|
||||||
type: boolean
|
|
||||||
description: Whether Google login is possible.
|
|
||||||
saml:
|
|
||||||
type: boolean
|
|
||||||
description: Whether SAML login is possible.
|
|
||||||
oauth2:
|
|
||||||
type: boolean
|
|
||||||
description: Whether OAuth2 login is possible.
|
|
||||||
email:
|
|
||||||
type: boolean
|
|
||||||
description: Whether E-Mail login is possible.
|
|
||||||
ldap:
|
|
||||||
type: boolean
|
|
||||||
description: Whether LDAP login is possible.
|
|
||||||
openid:
|
|
||||||
type: boolean
|
|
||||||
description: Whether OpenID login is possible.
|
|
||||||
customAuthNames:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
ldap:
|
|
||||||
type: string
|
|
||||||
description: The custom name for the LDAP Login.
|
|
||||||
example: "FooBar LDAP"
|
|
||||||
oauth2:
|
|
||||||
type: string
|
|
||||||
description: The custom name for the OAuth2 Login.
|
|
||||||
example: "Olaf2"
|
|
||||||
saml:
|
|
||||||
type: string
|
|
||||||
description: The custom name for the SAML Login.
|
|
||||||
example: "aufSAMLn.de"
|
|
||||||
specialLinks:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
privacy:
|
|
||||||
type: string
|
|
||||||
format: uri
|
|
||||||
description: Link to the privacy notice.
|
|
||||||
termsOfUse:
|
|
||||||
type: string
|
|
||||||
format: uri
|
|
||||||
description: Link to the terms of use.
|
|
||||||
imprint:
|
|
||||||
type: string
|
|
||||||
format: uri
|
|
||||||
description: Link to the imprint.
|
|
||||||
version:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
version:
|
|
||||||
type: string
|
|
||||||
sourceCodeUrl:
|
|
||||||
type: string
|
|
||||||
format: uri
|
|
||||||
issueTrackerUrl:
|
|
||||||
type: string
|
|
||||||
format: uri
|
|
||||||
Note:
|
Note:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -667,14 +578,10 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: A tag
|
description: A tag
|
||||||
updateTime:
|
updateTime:
|
||||||
type: object
|
type: integer
|
||||||
properties:
|
description: UNIX-timestamp of when the note was last changed.
|
||||||
username:
|
updateUser:
|
||||||
type: string
|
$ref: "#/components/schemas/UserInfo"
|
||||||
description: The name of the user that last changed the note.
|
|
||||||
timestamp:
|
|
||||||
type: integer
|
|
||||||
description: UNIX-timestamp of when the note was last changed.
|
|
||||||
viewCount:
|
viewCount:
|
||||||
type: integer
|
type: integer
|
||||||
minimum: 0
|
minimum: 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue