Skip to content

GPL license means that generated code is also licensed under GPL #10

@trittweiler

Description

@trittweiler

Hi there!

My understanding is that the output of json-schema-codegen constitutes a derivative work of the templates in the source repository and the templates are licensed under GPL. That makes the generated code also fall under the GPL.

And even if I write my own templates (licensed under a different license), I am not convinced that this will hold water legally. Or that the templates would not constitute a derivative work themselves and fall under GPL themselves.

My questions is:

When you chose GPL as license, were you aware that that choice will also transmit to the generated code? Was this a conscious decision?

In case this was a deliberate decision, would you consider adding a Bison-style exception[1] to json-schema-codegen, or change the license to a more permissive, non-copyleft license like MIT?

Thanks a lot for your work on json-schema-codegen and your consideration of this issue!

Tobias

[1] https://spdx.org/licenses/Bison-exception-2.2.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions