File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -592,6 +592,7 @@ private void setModelClassModifier() {
592592 private void setBuildTarget () {
593593 setCliOption (buildTarget );
594594 if ("library" .equals (buildTarget .getOptValue ())) {
595+ LOGGER .warn ("buildTarget is {} so changing default isLibrary to true" , buildTarget .getOptValue ());
595596 isLibrary = true ;
596597 projectSdk = SDK_LIB ;
597598 additionalProperties .put (CLASS_MODIFIER , "abstract" );
@@ -636,7 +637,7 @@ private String determineTemplateVersion(String frameworkVersion) {
636637
637638 private void setUseSwashbuckle () {
638639 if (isLibrary ) {
639- LOGGER .warn ("buildTarget is " + buildTarget . getOptValue () + " so changing default isLibrary to false " );
640+ LOGGER .warn ("isLibrary is true so changing default useSwashbuckle to false" );
640641 useSwashbuckle = false ;
641642 } else {
642643 useSwashbuckle = true ;
You can’t perform that action at this time.
0 commit comments