From 9d3b62739a002df6ce6a69c68baebc30023f1be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Nie=C3=9F?= Date: Mon, 18 Apr 2022 13:42:42 +0200 Subject: [PATCH] fix: local_context_data and config_context as JSON objects Fixes #25 --- ...r-v3.0.11-device-vm-localcontextdata.patch | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 patchs/swagger-v3.0.11-device-vm-localcontextdata.patch diff --git a/patchs/swagger-v3.0.11-device-vm-localcontextdata.patch b/patchs/swagger-v3.0.11-device-vm-localcontextdata.patch new file mode 100644 index 00000000..f772938b --- /dev/null +++ b/patchs/swagger-v3.0.11-device-vm-localcontextdata.patch @@ -0,0 +1,91 @@ +--- swagger-v3.0.11.json.orig 2022-04-17 21:40:18.785337067 +0200 ++++ swagger-v3.0.11.json 2022-04-17 21:40:23.553358148 +0200 +@@ -1900,7 +1900,7 @@ + }, + "local_context_data" : { + "title" : "Local context data", +- "type" : "string", ++ "type" : "object", + "x-nullable" : true + }, + "location" : { "$ref" : "#/definitions/NestedLocation" }, +@@ -2352,10 +2352,6 @@ + "type" : "string" + }, + "config_context" : { +- "additionalProperties" : { +- "type" : "string", +- "x-nullable" : true +- }, + "readOnly" : true, + "title" : "Config context", + "type" : "object" +@@ -2415,7 +2411,7 @@ + }, + "local_context_data" : { + "title" : "Local context data", +- "type" : "string", ++ "type" : "object", + "x-nullable" : true + }, + "location" : { "$ref" : "#/definitions/NestedLocation" }, +@@ -9756,10 +9752,6 @@ + "type" : "string" + }, + "config_context" : { +- "additionalProperties" : { +- "type" : "string", +- "x-nullable" : true +- }, + "readOnly" : true, + "title" : "Config context", + "type" : "object" +@@ -9800,7 +9792,7 @@ + }, + "local_context_data" : { + "title" : "Local context data", +- "type" : "string", ++ "type" : "object", + "x-nullable" : true + }, + "memory" : { +@@ -11847,10 +11839,6 @@ + "type" : "string" + }, + "config_context" : { +- "additionalProperties" : { +- "type" : "string", +- "x-nullable" : true +- }, + "readOnly" : true, + "title" : "Config context", + "type" : "object" +@@ -11900,7 +11888,7 @@ + }, + "local_context_data" : { + "title" : "Local context data", +- "type" : "string", ++ "type" : "object", + "x-nullable" : true + }, + "location" : { +@@ -15904,10 +15892,6 @@ + "type" : "string" + }, + "config_context" : { +- "additionalProperties" : { +- "type" : "string", +- "x-nullable" : true +- }, + "readOnly" : true, + "title" : "Config context", + "type" : "object" +@@ -15948,7 +15932,7 @@ + }, + "local_context_data" : { + "title" : "Local context data", +- "type" : "string", ++ "type" : "object", + "x-nullable" : true + }, + "memory" : {