All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.swagger.swaggerhub.plugin.requests.AbstractSwaggerHubRequest Maven / Gradle / Ivy

Go to download

A maven plugin for downloading and uploading Swagger/OAS definitions from/to SwaggerHub as part of a build process.

There is a newer version: 1.0.4
Show newest version
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