Repository navigation
fix: ship Swagger UI's licence notices and declare every licence - #765
Merged
Merged
Conversation
The vendored bundles begin "For license information please see swagger-ui-bundle.js.LICENSE.txt", but #751 did not vendor those files. They carry the notices for the third-party code inside the bundles (React and many other MIT packages, ieee754 under BSD-3-Clause, DOMPurify under Apache-2.0 OR MPL-2.0), and MIT and BSD require the notice to travel with every copy. Both files are now vendored, unchanged from swagger-ui-dist 5.34.1, beside a README that records the tarball, its integrity hash and how to update it. The metadata said MIT, but LICENSE is Kenneth Reitz's ISC licence, and it left out the bundled code. It now declares "ISC AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR MPL-2.0)" and lists Swagger UI's LICENSE, NOTICE and both notice files in license-files. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Swagger UI bundles I vendored in #751 point to
*.LICENSE.txtfiles that I didn't include. They're vendored now, unchanged from swagger-ui-dist 5.34.1, with a README saying where they came from. The package metadata said MIT, but LICENSE is ISC. It now declaresISC AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR MPL-2.0)and ships every licence file in the wheel.Generated with Claude Code