From c3098cc55c1b809f5e1658f222449a32608171cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Tue, 3 Oct 2023 22:56:44 +0200 Subject: [PATCH] Remove required 'fieldname' in Protocol definition (#1646) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- changelogs/application_service/newsfragments/1646.clarification | 1 + data/api/application-service/definitions/protocol.yaml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 changelogs/application_service/newsfragments/1646.clarification diff --git a/changelogs/application_service/newsfragments/1646.clarification b/changelogs/application_service/newsfragments/1646.clarification new file mode 100644 index 00000000..7779bf73 --- /dev/null +++ b/changelogs/application_service/newsfragments/1646.clarification @@ -0,0 +1 @@ +Remove required `fieldname` in Protocol definition. \ No newline at end of file diff --git a/data/api/application-service/definitions/protocol.yaml b/data/api/application-service/definitions/protocol.yaml index 801faed1..c442a1b1 100644 --- a/data/api/application-service/definitions/protocol.yaml +++ b/data/api/application-service/definitions/protocol.yaml @@ -63,7 +63,6 @@ properties: description: An placeholder serving as a valid example of the field value. type: string required: ['regexp', 'placeholder'] - required: ['fieldname'] example: { "network": { "regexp": "([a-z0-9]+\\.)*[a-z0-9]+",