From da5f0a9e0f5cfcc4d61f812adfd32bd94a6894e9 Mon Sep 17 00:00:00 2001 From: dphuang2 Date: Mon, 30 Oct 2023 23:38:28 -0700 Subject: [PATCH] add comment to trigger build run-it --- .../src/main/java/com/konfigthis/api/GenerateApi.java | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/konfig-generator-api/src/main/java/com/konfigthis/api/GenerateApi.java b/generator/konfig-generator-api/src/main/java/com/konfigthis/api/GenerateApi.java index 4a278da9f..3498ccc5d 100644 --- a/generator/konfig-generator-api/src/main/java/com/konfigthis/api/GenerateApi.java +++ b/generator/konfig-generator-api/src/main/java/com/konfigthis/api/GenerateApi.java @@ -283,6 +283,7 @@ default Map transformAdditionalPropertiesToMap(AdditionalPropert putIfPresent(map, "artifactId", additionalProperties.getArtifactId()); putIfPresent(map, "artifactUrl", additionalProperties.getArtifactUrl()); putIfPresent(map, "groupId", additionalProperties.getGroupId()); + // non-Python SDKs will throw NPE is no null check is added if (additionalProperties.getPythonResponseTypeVersion() != null) { putIfPresent(map, "prstv1", additionalProperties.getPythonResponseTypeVersion().equals("1")); putIfPresent(map, "prstv2", additionalProperties.getPythonResponseTypeVersion().equals("2"));