From e67672177bfad8316c6a9f72e827d460c4650c65 Mon Sep 17 00:00:00 2001 From: Fabian Sudau <fabian.sudau@sinc.de> Date: Tue, 11 Jun 2024 17:14:18 +0200 Subject: [PATCH] feat: Group webhooks by tag (planning#1850) --- spec/submission-api.yaml | 3 ++- spec/webhooks/new-events.yaml | 2 ++ spec/webhooks/new-replies.yaml | 2 ++ spec/webhooks/new-submissions.yaml | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/spec/submission-api.yaml b/spec/submission-api.yaml index f898ed24..1ae16a2e 100644 --- a/spec/submission-api.yaml +++ b/spec/submission-api.yaml @@ -40,7 +40,8 @@ tags: description: Unter dieser Gruppe werden Endpunkte gelistet, die FIT-Connect intern sind und API-Clients nicht zur Verfügung stehen. - name: Vorgangsverwaltung description: Unter dieser Gruppe sind alle Endpunkte organisiert, die sich auf einen Vorgang (Case) in beziehen. - + - name: Webhooks + description: Webhooks (Callbacks), über die FIT-Connect sendende und empfangende Systeme über Ereignisse benachrichtigt. paths: /v1/destinations: $ref: './endpoints/destinations/index.yaml' diff --git a/spec/webhooks/new-events.yaml b/spec/webhooks/new-events.yaml index 472e3ca1..b07322eb 100644 --- a/spec/webhooks/new-events.yaml +++ b/spec/webhooks/new-events.yaml @@ -11,6 +11,8 @@ post: - $ref: '../headers/hmac-cb-authentication.yaml' - $ref: '../headers/hmac-cb-timestamp.yaml' security: [] + tags: + - Webhooks requestBody: required: true content: diff --git a/spec/webhooks/new-replies.yaml b/spec/webhooks/new-replies.yaml index 6721722e..5bbe5440 100644 --- a/spec/webhooks/new-replies.yaml +++ b/spec/webhooks/new-replies.yaml @@ -8,6 +8,8 @@ post: - $ref: '../headers/hmac-cb-authentication.yaml' - $ref: '../headers/hmac-cb-timestamp.yaml' security: [] + tags: + - Webhooks requestBody: required: true content: diff --git a/spec/webhooks/new-submissions.yaml b/spec/webhooks/new-submissions.yaml index 59299abc..63b7da9f 100644 --- a/spec/webhooks/new-submissions.yaml +++ b/spec/webhooks/new-submissions.yaml @@ -9,6 +9,8 @@ post: - $ref: '../headers/hmac-cb-authentication.yaml' - $ref: '../headers/hmac-cb-timestamp.yaml' security: [] + tags: + - Webhooks requestBody: required: true content: -- GitLab