@@ -461,7 +461,7 @@ private void buildFactoryMethods() {
461461 String name = getJavaName (input );
462462
463463 ParameterSpec .Builder param = ParameterSpec .builder (type .iterableIfIterable ().javaType , name );
464- paramTags .put (name , CodeBlock .of ("$L\n " , argDef .getDescription ()));
464+ paramTags .put (name , CodeBlock .of ("$L\n " , parseDocumentation ( argDef .getDescription () )));
465465 factoryBuilder .addParameter (param .build ());
466466
467467 typeVars .addAll (type .findGenerics ());
@@ -489,7 +489,7 @@ private void buildFactoryMethods() {
489489
490490 ParameterSpec .Builder builder = ParameterSpec
491491 .builder (type .classIfGeneric ().listIfIterable ().javaType , getJavaName (attr ));
492- paramTags .put (getJavaName (attr ), CodeBlock .of ("$L\n " , apiAttr .getDescription ()));
492+ paramTags .put (getJavaName (attr ), CodeBlock .of ("$L\n " , parseDocumentation ( apiAttr .getDescription () )));
493493
494494 typeVars .addAll (type .findGenerics ());
495495
@@ -623,7 +623,7 @@ private void buildGettersAndSetters() {
623623 builder .addMethod (MethodSpec .methodBuilder (name )
624624 .addModifiers (Modifier .PUBLIC )
625625 .returns (resolver .typeOf (output ).listIfIterable ().javaType )
626- .addJavadoc ("$L" , argDef .getDescription ())
626+ .addJavadoc ("$L" , parseDocumentation ( argDef .getDescription () ))
627627 .addCode ("return $L;" , name )
628628 .build ());
629629 }
0 commit comments