API docs ready for swagger-ui
This commit is contained in:
parent
44aaff929c
commit
e1a62442d9
|
@ -2,4 +2,5 @@ backend/classes/Setting.php
|
||||||
backend/cache
|
backend/cache
|
||||||
backend/tmp
|
backend/tmp
|
||||||
backend/qr
|
backend/qr
|
||||||
|
api/docs
|
||||||
.idea
|
.idea
|
||||||
|
|
|
@ -5,10 +5,6 @@ info:
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
description: The restfull API of the jabber fingerprint keyring.
|
description: The restfull API of the jabber fingerprint keyring.
|
||||||
|
|
||||||
servers:
|
|
||||||
- url: https://sabolli.de/ringfinger
|
|
||||||
description: Test server
|
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
- name: User
|
- name: User
|
||||||
description: A user that can login, store fingerprints and share them with other users.
|
description: A user that can login, store fingerprints and share them with other users.
|
||||||
|
@ -353,6 +349,10 @@ paths:
|
||||||
example: 42
|
example: 42
|
||||||
userSharedId:
|
userSharedId:
|
||||||
$ref: '#/components/schemas/SharingUserId'
|
$ref: '#/components/schemas/SharingUserId'
|
||||||
|
allOf:
|
||||||
|
- required:
|
||||||
|
- userId
|
||||||
|
- userSharedId
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
Loading…
Reference in New Issue