Skip to content

Commit 1d69b4a

Browse files
committed
client only
1 parent 32a19e0 commit 1d69b4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/schema/SchemaGenerationAllowlist.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ public abstract class SchemaGenerationAllowlist {
2727

2828
@Deprecated
2929
public static boolean allows(String serviceShapeId, TypeScriptSettings settings) {
30-
return true;
30+
return settings.generateClient();
3131
}
3232

3333
public static boolean allows(ShapeId serviceShapeId, TypeScriptSettings settings) {
34-
return true;
34+
return settings.generateClient();
3535
}
3636

3737
public static void allow(String serviceShapeId) {

0 commit comments

Comments
 (0)