docs: openapi schema for user/group exist check, session deletion

This commit is contained in:
Julian Lam
2020-11-12 15:53:15 -05:00
parent 97842c43d3
commit bcccb331db
6 changed files with 81 additions and 2 deletions

View File

@@ -1,3 +1,20 @@
head:
tags:
- groups
summary: check if a group exists
parameters:
- in: path
name: slug
schema:
type: string
required: true
description: group slug (that also acts as its identifier) to check
example: my-test-group
responses:
'200':
description: group found
'404':
description: group not found
delete:
tags:
- groups