From a107afd280c99d49b45e73a3386eb5d84e1ff8ac Mon Sep 17 00:00:00 2001 From: Vitor-Azion Date: Fri, 5 Jan 2024 10:02:30 -0300 Subject: [PATCH] ajust for OpenAPI lint --- edgeapplications.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/edgeapplications.yaml b/edgeapplications.yaml index 4c164411..5d8bbde9 100644 --- a/edgeapplications.yaml +++ b/edgeapplications.yaml @@ -4666,10 +4666,10 @@ components: type: object CreateOriginsRequest_addresses: example: - address: address + address: azion.com.br is_active: true - weight: weight - server_role: server_role + weight: 10 + server_role: primary properties: address: type: string @@ -4681,15 +4681,18 @@ components: format: int64 server_role: type: string + maxLength: 10 + minLength: 1 + pattern: '^(primary|backup)$' required: - address type: object OriginsResultResponse_addresses: example: - address: address + address: azion.com.br is_active: true - weight: weight - server_role: server_role + weight: 10 + server_role: primary properties: address: type: string @@ -4698,6 +4701,9 @@ components: type: integer server_role: type: string + maxLength: 10 + minLength: 1 + pattern: '^(primary|backup)$' is_active: type: boolean required: