io.swagger.swaggerhub.plugin.requests.AbstractSwaggerHubRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swaggerhub-maven-plugin
Show all versions of swaggerhub-maven-plugin
A maven plugin for downloading and uploading Swagger/OAS definitions from/to SwaggerHub as
part of a build process.
package io.swagger.swaggerhub.plugin.requests;
/**
* Abstract class which contains common members shared by SwaggerHub request configuration classes
*/
public class AbstractSwaggerHubRequest {
protected final String api;
protected final String owner;
protected final String version;
protected final String oas;
public AbstractSwaggerHubRequest(String api, String owner, String version, String oas) {
this.api = api;
this.owner = owner;
this.version = version;
this.oas = oas;
}
public String getApi() { return api; }
public String getOwner() {
return owner;
}
public String getVersion() {
return version;
}
public String getOas() { return oas; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy