- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for license_info (0.07 seconds)
-
fastapi/openapi/utils.py
info["description"] = description if terms_of_service: info["termsOfService"] = terms_of_service if contact: info["contact"] = contact if license_info: info["license"] = license_info output: dict[str, Any] = {"openapi": openapi_version, "info": info} if servers: output["servers"] = servers components: dict[str, dict[str, Any]] = {}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LicenseAnalyzer.java
public static LicenseInfo licenseType(File licenseFile) { for (LicenseMatcher matcher : matchers) { boolean matches = matcher.matches(licenseFile); if (matches) { return new LicenseInfo(matcher.getIdentifier(), matcher.spdxLicense, matcher.sourceRedistributionRequired); } }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 27 00:12:58 GMT 2021 - 12.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java
checkFile(dependencyName, jarName, notices, "NOTICE"); File licenseFile = new File(licensesDir, getFileName(dependencyName, licenses, "LICENSE")); LicenseInfo licenseInfo = LicenseAnalyzer.licenseType(licenseFile); if (licenseInfo.isSourceRedistributionRequired()) { checkFile(dependencyName, jarName, sources, "SOURCES"); } } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 26 12:16:14 GMT 2021 - 14.3K bytes - Click Count (0)