method-level security-control with some open endpoints (e.g. /api/ping) (#191)
Co-authored-by: Michael Hoennig <michael@hoennig.de> Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/191
This commit is contained in:
@@ -17,6 +17,19 @@ paths:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
'application/json':
|
||||
'text/plain':
|
||||
schema:
|
||||
type: string
|
||||
|
||||
/api/pong:
|
||||
get:
|
||||
tags:
|
||||
- test
|
||||
operationId: pong
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
'text/plain':
|
||||
schema:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user