Skip to content

Function getScrollParent in swagger-ui/src/core/plugins/deep-linking/layout.js derivative work of stackoverflow code under CC-BY-SA 3.0? #10131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aleguenn opened this issue Sep 12, 2024 · 0 comments

Comments

@aleguenn
Copy link

Hi,

While performing some review of swagger-ui, I ran into the following code snippet at
https://github.com/swagger-api/swagger-ui/blame/master/src/core/plugins/deep-linking/layout.js#L138:
Function getScrollParent apparently is derivative work from code published on stackoverflow in 2017, as attributed in the accompanying comment (pointing to https://stackoverflow.com/a/42543908/3933724).
However, this code from stackoverflow was presumably published under a CC-BY-SA 3.0 license by default
(see https://stackoverflow.com/help/licensing).
Here it is re-licensed under the Apache-2.0 license, which AFAIK is not compatible with CC-BY-SA 3.0.
Isn't there a license issue here with the inclusion of this code snippet?

Best regards,
Alain Le Guennec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant