From 7fef198564c02a38a3707c2d81a9c3866049ebc8 Mon Sep 17 00:00:00 2001 From: Anna Shamray Date: Wed, 10 Jul 2024 16:42:39 +0200 Subject: [PATCH] :memo: [https://github.com/open-zaak/open-zaak/issues/1708] define global tags in OAS --- src/nrc/conf/includes/api.py | 1 + src/openapi.yaml | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/nrc/conf/includes/api.py b/src/nrc/conf/includes/api.py index 28912937..e8d01136 100644 --- a/src/nrc/conf/includes/api.py +++ b/src/nrc/conf/includes/api.py @@ -47,6 +47,7 @@ } } }, + "TAGS": [{"name": "abonnement"}, {"name": "kanaal"}, {"name": "notificaties"}], } GEMMA_URL_INFORMATIEMODEL_VERSIE = "1.0" diff --git a/src/openapi.yaml b/src/openapi.yaml index 1ba29a8e..7fea5175 100644 --- a/src/openapi.yaml +++ b/src/openapi.yaml @@ -1477,11 +1477,6 @@ paths: type: string description: 'Geeft een specifieke API-versie aan in de context van een specifieke aanroep. Voorbeeld: 1.2.1.' - Location: - schema: - type: string - format: uri - description: URL waar de resource leeft. content: application/json: schema: @@ -1606,8 +1601,8 @@ components: readOnly: true description: URL-referentie naar dit object. Dit is de unieke identificatie en locatie van dit object. - min_length: 1 - max_length: 1000 + minLength: 1 + maxLength: 1000 callbackUrl: type: string format: uri @@ -1706,8 +1701,8 @@ components: readOnly: true description: URL-referentie naar dit object. Dit is de unieke identificatie en locatie van dit object. - min_length: 1 - max_length: 1000 + minLength: 1 + maxLength: 1000 naam: type: string description: Naam van het KANAAL (ook wel "Exchange" genoemd) dat de bron @@ -1783,8 +1778,8 @@ components: readOnly: true description: URL-referentie naar dit object. Dit is de unieke identificatie en locatie van dit object. - min_length: 1 - max_length: 1000 + minLength: 1 + maxLength: 1000 callbackUrl: type: string format: uri @@ -1846,3 +1841,7 @@ components: bearerFormat: JWT servers: - url: /api/v1 +tags: +- name: abonnement +- name: kanaal +- name: notificaties