From 71180964fc5352a7c61a3ab19412ae39b8433d20 Mon Sep 17 00:00:00 2001 From: panaaj <38519157+panaaj@users.noreply.github.com> Date: Mon, 21 Mar 2022 15:15:00 +1030 Subject: [PATCH] fix fields definition --- src/api/resources/openApi.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/resources/openApi.json b/src/api/resources/openApi.json index bf2551c06..5dce2fb98 100644 --- a/src/api/resources/openApi.json +++ b/src/api/resources/openApi.json @@ -592,8 +592,9 @@ "description": "Layer id." }, "fields": { - "type": "string", - "description": "Layer fields." + "type": "object", + "description": "A JSON object whose keys and values are the names and types of attributes available in this layer. ", + "additionalProperties": true }, "description": { "type": "string",