diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0d304be297..d4cadcb240 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,9 @@ and what APIs have changed, if applicable.
## [Unreleased]
+## [29.43.9] - 2023-07-18
+- Update `PegasusPlugin` to not check IDL dir contains rest models
+
## [29.43.8] - 2023-07-13
- Add support for gRPC-downstream extension annotations (`@grpcExtension`, `@grpcService`).
@@ -5502,7 +5505,8 @@ patch operations can re-use these classes for generating patch messages.
## [0.14.1]
-[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.43.8...master
+[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.43.9...master
+[29.43.9]: https://github.com/linkedin/rest.li/compare/v29.43.8...v29.43.9
[29.43.8]: https://github.com/linkedin/rest.li/compare/v29.43.7...v29.43.8
[29.43.7]: https://github.com/linkedin/rest.li/compare/v29.43.6...v29.43.7
[29.43.6]: https://github.com/linkedin/rest.li/compare/v29.43.5...v29.43.6
diff --git a/gradle-plugins/src/integTest/resources/ivy/legacy/expectedChildIvyDescriptorContents.txt b/gradle-plugins/src/integTest/resources/ivy/legacy/expectedChildIvyDescriptorContents.txt
index c2a960568a..c810006461 100644
--- a/gradle-plugins/src/integTest/resources/ivy/legacy/expectedChildIvyDescriptorContents.txt
+++ b/gradle-plugins/src/integTest/resources/ivy/legacy/expectedChildIvyDescriptorContents.txt
@@ -23,6 +23,14 @@
+
+
+
+
+
+
+
+
@@ -49,6 +57,14 @@
+
+
+
+
+
+
+
+
@@ -63,11 +79,15 @@
+
+
+
+
-
\ No newline at end of file
+
diff --git a/gradle-plugins/src/integTest/resources/ivy/legacy/expectedGrandparentIvyDescriptorContents.txt b/gradle-plugins/src/integTest/resources/ivy/legacy/expectedGrandparentIvyDescriptorContents.txt
index 7c702057b8..1113b492f9 100644
--- a/gradle-plugins/src/integTest/resources/ivy/legacy/expectedGrandparentIvyDescriptorContents.txt
+++ b/gradle-plugins/src/integTest/resources/ivy/legacy/expectedGrandparentIvyDescriptorContents.txt
@@ -23,6 +23,14 @@
+
+
+
+
+
+
+
+
@@ -49,6 +57,14 @@
+
+
+
+
+
+
+
+
@@ -63,10 +79,14 @@
+
+
+
+
-
\ No newline at end of file
+
diff --git a/gradle-plugins/src/integTest/resources/ivy/legacy/expectedParentIvyDescriptorContents.txt b/gradle-plugins/src/integTest/resources/ivy/legacy/expectedParentIvyDescriptorContents.txt
index 96e23b0506..02f003ce68 100644
--- a/gradle-plugins/src/integTest/resources/ivy/legacy/expectedParentIvyDescriptorContents.txt
+++ b/gradle-plugins/src/integTest/resources/ivy/legacy/expectedParentIvyDescriptorContents.txt
@@ -23,6 +23,14 @@
+
+
+
+
+
+
+
+
@@ -49,6 +57,14 @@
+
+
+
+
+
+
+
+
@@ -63,8 +79,12 @@
+
+
+
+
diff --git a/gradle-plugins/src/main/java/com/linkedin/pegasus/gradle/PegasusPlugin.java b/gradle-plugins/src/main/java/com/linkedin/pegasus/gradle/PegasusPlugin.java
index ef0135f91c..377d5a7b7e 100644
--- a/gradle-plugins/src/main/java/com/linkedin/pegasus/gradle/PegasusPlugin.java
+++ b/gradle-plugins/src/main/java/com/linkedin/pegasus/gradle/PegasusPlugin.java
@@ -1991,10 +1991,6 @@ protected void configureRestClientGeneration(Project project, SourceSet sourceSe
{
// idl directory for api project
File idlDir = project.file(getIdlPath(project, sourceSet));
- if (SharedFileUtils.getSuffixedFiles(project, idlDir, IDL_FILE_SUFFIX).isEmpty())
- {
- return;
- }
File generatedRestClientDir = project.file(getGeneratedDirPath(project, sourceSet, REST_GEN_TYPE)
+ File.separatorChar + "java");
diff --git a/gradle.properties b/gradle.properties
index d356dd5142..0b0e3c1fcb 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
-version=29.43.8
+version=29.43.9
group=com.linkedin.pegasus
org.gradle.configureondemand=true
org.gradle.parallel=true
diff --git a/restli-tools/src/main/java/com/linkedin/restli/tools/idlgen/RestLiResourceModelExporter.java b/restli-tools/src/main/java/com/linkedin/restli/tools/idlgen/RestLiResourceModelExporter.java
index 5c28fece20..10300cbf8a 100644
--- a/restli-tools/src/main/java/com/linkedin/restli/tools/idlgen/RestLiResourceModelExporter.java
+++ b/restli-tools/src/main/java/com/linkedin/restli/tools/idlgen/RestLiResourceModelExporter.java
@@ -16,7 +16,6 @@
package com.linkedin.restli.tools.idlgen;
-
import com.linkedin.pegasus.generator.GeneratorResult;
import com.linkedin.restli.common.RestConstants;
import com.linkedin.restli.internal.server.model.ResourceModel;
@@ -27,22 +26,16 @@
import com.linkedin.restli.restspec.RestSpecCodec;
import com.linkedin.restli.server.RestLiConfig;
import com.linkedin.restli.server.util.FileClassNameScanner;
-
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
-import java.io.PrintWriter;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
-
-import org.apache.commons.io.output.NullWriter;
-import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -59,7 +52,7 @@ public class RestLiResourceModelExporter
/**
* @param apiName the name of the API
- * @param classpath classpath to to load the resources. this is purely for Javadoc Doclet {@link RestLiDoclet}
+ * @param classpath classpath to load the resources. this is purely for Javadoc Doclet {@link RestLiDoclet}
* @param sourcePaths paths to scan for resource Java source files. this is purely for Javadoc Doclet {@link RestLiDoclet}
* @param resourcePackages packages to scan for resources
* @param outdir directory in which to output the IDL files
@@ -110,7 +103,7 @@ public GeneratorResult export(String apiName,
/**
* @param apiName the name of the API
- * @param classpath classpath to to load the resources. this is purely for Javadoc Doclet {@link RestLiDoclet}
+ * @param classpath classpath to load the resources. this is purely for Javadoc Doclet {@link RestLiDoclet}
* @param sourcePaths paths to scan for resource Java source files. this is purely for Javadoc Doclet {@link RestLiDoclet}
* if both resourcePackages and resourceClasses is null, all classes defined in the directories will be scanned
* @param resourcePackages packages to scan for resources