Skip to content

Commit 61c0f46

Browse files
committed
Fix more merge issues
1 parent b12085e commit 61c0f46

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAngularClientCodegen.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -353,19 +353,6 @@ private void addNpmPackageGeneration(SemVer ngVersion) {
353353
if (!additionalProperties.containsKey(RXJS_VERSION)) {
354354
additionalProperties.put(RXJS_VERSION, angularDependencies.getRxjsVersion());
355355
}
356-
357-
// Set the rxJS version compatible to the Angular version
358-
if (ngVersion.atLeast("15.0.0")) {
359-
additionalProperties.put("rxjsVersion", "7.5.5");
360-
} else if (ngVersion.atLeast("14.0.0")) {
361-
additionalProperties.put("rxjsVersion", "7.5.5");
362-
} else if (ngVersion.atLeast("13.0.0")) {
363-
additionalProperties.put("rxjsVersion", "7.4.0");
364-
} else if (ngVersion.atLeast("10.0.0")) {
365-
additionalProperties.put("rxjsVersion", "6.6.0");
366-
} else if (ngVersion.atLeast("9.0.0")) {
367-
additionalProperties.put("rxjsVersion", "6.5.3");
368-
}
369356

370357
if (!additionalProperties.containsKey(NGPACKAGR_VERSION)) {
371358
additionalProperties.put(NGPACKAGR_VERSION, angularDependencies.getNgPackagrVersion());

modules/openapi-generator/src/test/java/org/openapitools/codegen/config/GlobalSettingsTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import static org.assertj.core.api.Assertions.assertThat;
99
import static org.assertj.core.api.Assertions.assertThatNoException;
1010

11-
import org.junit.jupiter.api.Disabled;
1211
import org.slf4j.LoggerFactory;
1312
import org.testng.annotations.BeforeClass;
1413
import org.testng.annotations.Test;
@@ -29,7 +28,7 @@ public void setUp() {
2928
System.getProperties().putAll(props);
3029
}
3130

32-
@Test @Disabled
31+
@Test(enabled = false)
3332
// comment out the following tests as it generates false alarms from time to time
3433
// also using system property will eventually be decommissioned
3534
public void testNonStringSystemProperties() {

modules/openapi-generator/src/test/java/org/openapitools/codegen/options/TypeScriptAngularClientOptionsProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ public Map<String, String> createOptions() {
7272
.put(TypeScriptAngularClientCodegen.RXJS_VERSION, RXJS_VERSION)
7373
.put(TypeScriptAngularClientCodegen.NGPACKAGR_VERSION, NGPACKAGR_VERSION)
7474
.put(TypeScriptAngularClientCodegen.ZONEJS_VERSION, ZONEJS_VERSION)
75-
.put(CodegenConstants.ENUM_UNKNOWN_DEFAULT_CASE, ENUM_UNKNOWN_DEFAULT_CASE_VALUE)
7675
.put(TypeScriptAngularClientCodegen.HTTP_OPTIONS_NAME, HTTP_OPTIONS_NAME_VALUE)
7776
.build();
7877
}

0 commit comments

Comments
 (0)