Skip to content
Snippets Groups Projects
Verified Commit 6951623d authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

chore(api): redocly warns if endpoints dont have security set

usually we use the OAuth2 security schema. but public endpoints
do not have this security constraint. callbacks don't authenticate
against the called endpoint.

For reference, the warning was (one example):

> Every operation should have security defined on it or on the root level.
>
> 418 | get:
>     | ^^^
> 419 |   operationId: get-destination-key
> 420 |   summary: Ruft einen JWK des Zustelldienstes ab
>
> Warning was generated by the security-defined rule.
parent 281d126a
No related branches found
No related tags found
1 merge request!181Fix API build warnings (and then some)
......@@ -8,6 +8,7 @@
parameters:
- $ref: '../headers/hmac-cb-authentication.yaml'
- $ref: '../headers/hmac-cb-timestamp.yaml'
security: []
requestBody:
required: true
content:
......
......@@ -8,6 +8,7 @@
parameters:
- $ref: '../headers/hmac-cb-authentication.yaml'
- $ref: '../headers/hmac-cb-timestamp.yaml'
security: []
requestBody:
required: true
content:
......
......@@ -8,6 +8,7 @@
parameters:
- $ref: '../headers/hmac-cb-authentication.yaml'
- $ref: '../headers/hmac-cb-timestamp.yaml'
security: []
requestBody:
required: true
content:
......
......@@ -8,6 +8,7 @@ get:
description: Ermöglicht es, Public Keys eines Zustellpunktes abzufragen.
tags:
- Einreichungsübermittlung
security: []
responses:
'200':
description: OK
......
......@@ -4,6 +4,7 @@ get:
description: Für Debugging oder Informationszwecke angebotener Endpunkt
tags:
- Fachlich
security: []
responses:
'200':
description: OK
......
......@@ -4,6 +4,7 @@ get:
description: Kann z.B. zur Validierung der SETs des Zustelldienstes genutzt werden.
tags:
- Fachlich
security: []
responses:
'200':
description: OK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment