AGPL 3 licence

This commit is contained in:
Michele Artini 2022-09-09 14:06:31 +02:00
parent be85f682a0
commit 8e7901afdd
1 changed files with 5 additions and 2 deletions

View File

@ -32,7 +32,10 @@ public abstract class AbstractDnetApp {
private static final String DEFAULT_DESC = "APIs documentation";
private static final License APACHE_2_LICENSE = new License().name("Apache 2.0").url("http://www.apache.org/licenses/LICENSE-2.0");
protected static final License APACHE_2_LICENSE = new License().name("Apache 2.0").url("http://www.apache.org/licenses/LICENSE-2.0");
protected static final License AGPL_3_LICENSE =
new License().name("GNU Affero General Public License v3.0 or later").url("https://www.gnu.org/licenses/agpl-3.0.txt");
@Value("${maven.pom.path}")
private ClassPathResource pom;
@ -98,7 +101,7 @@ public abstract class AbstractDnetApp {
}
protected License swaggerLicense() {
return APACHE_2_LICENSE;
return AGPL_3_LICENSE;
}
protected List<Tag> swaggerTags() {