org.openapi4j.parser.model.v3.License Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-parser Show documentation
Show all versions of openapi-parser Show documentation
openapi4j schema parser & validator
package org.openapi4j.parser.model.v3;
public class License extends AbsExtendedOpenApiSchema {
private String name;
private String url;
// Name
public String getName() {
return name;
}
public License setName(String name) {
this.name = name;
return this;
}
// Url
public String getUrl() {
return url;
}
public License setUrl(String url) {
this.url = url;
return this;
}
@Override
public License copy() {
License copy = new License();
copy.setName(getName());
copy.setUrl(getUrl());
copy.setExtensions(copySimpleMap(getExtensions()));
return copy;
}
}