diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelAssembler.java b/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelAssembler.java index 470e5d25865..452e3866c07 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelAssembler.java +++ b/smithy-model/src/main/java/software/amazon/smithy/model/loader/ModelAssembler.java @@ -432,7 +432,7 @@ private ModelAssembler addDiscoveredModels(List urls) { * *
{@code
      * ModelAssembler assembler = Model.assembler();
-     * assembler.putLoaderVisitorSetting(ModelAssembler.ALLOW_UNKNOWN_TRAITS, true);
+     * assembler.putProperty(ModelAssembler.ALLOW_UNKNOWN_TRAITS, true);
      * }
* * @param setting Name of the property to put.