chore(middlewares): put validation in the correct place

This commit is contained in:
Stavros Kois
2023-09-05 16:47:20 +03:00
committed by GitHub
parent 435df3e746
commit 712533f17c
2 changed files with 2 additions and 2 deletions
@@ -24,8 +24,8 @@
- variable: name
label: Header Name
description: Name of custom header to be added to requests, eg. X-Custom-Header
pattern: ^[a-zA-Z0-9_\-]*$
schema:
valid_chars: ^[a-zA-Z0-9_\-]*$
type: string
required: true
default: ""
@@ -24,8 +24,8 @@
- variable: name
label: Header Name
description: Name of custom header to be added to responses, eg. X-Custom-Header
pattern: ^[a-zA-Z0-9_\-]*$
schema:
valid_chars: ^[a-zA-Z0-9_\-]*$
type: string
required: true
default: ""