-
-
Notifications
You must be signed in to change notification settings - Fork 71
Description
We use in our project MicroElements.NSwag.FluentValidation and MicroElements.OpenApi.FluentValidation libraries and we have a problem with licenses.
Could you add license information as MIT?
In our project, we check licenses by command:
nuget-license -t -ji
and we get errors:
MicroElements.NSwag.FluentValidation
Cannot determine License type for url https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/blob/master/LICENSE
MicroElements.OpenApi.FluentValidation
Cannot determine License type for url https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/blob/master/LICENSE
We added packages to the "ignore" file to prevent checking licenses but it would be nice not to do it and have a possibility to check if a package has a proper license.
This can be resolved by using MIT instead of PackageLicenseUrl.
licenseUrl is deprecated according to NuGet documentation: https://learn.microsoft.com/en-us/nuget/reference/nuspec#licenseurl