json-schema-to-typescript icon indicating copy to clipboard operation
json-schema-to-typescript copied to clipboard

Added option to remove comment about interface referencer

Open Stmated opened this issue 1 year ago • 1 comments

When generating code using unreachableDefinitions it adds a comment to the interface stating This interface was referenced by.... I find this quite annoying. So I added an option to not include those comments.

Stmated avatar Feb 01 '24 11:02 Stmated

Thanks for the contribution, but I'm not sure this change is worth the added complexity it introduces. We can revisit if there is significant interest from others (please feel welcome to open an issue).

You know what would bring even less complexity? Just removing the comment without any setting of enabling it.

Stmated avatar Mar 13 '24 10:03 Stmated