diff --git a/src/main/java/io/swagger/swaggerhub/tasks/DownloadTask.java b/src/main/java/io/swagger/swaggerhub/tasks/DownloadTask.java index aefd5d7..6c7e8e2 100644 --- a/src/main/java/io/swagger/swaggerhub/tasks/DownloadTask.java +++ b/src/main/java/io/swagger/swaggerhub/tasks/DownloadTask.java @@ -34,7 +34,7 @@ public class DownloadTask extends DefaultTask { private String protocol = "https"; private Boolean resolved = false; private Boolean onPremise = false; - private String onPremiseAPISuffix = "/v1"; + private String onPremiseAPISuffix = "v1"; @Input public String getOwner() { diff --git a/src/main/java/io/swagger/swaggerhub/tasks/UploadTask.java b/src/main/java/io/swagger/swaggerhub/tasks/UploadTask.java index ff5e43b..b5156ef 100644 --- a/src/main/java/io/swagger/swaggerhub/tasks/UploadTask.java +++ b/src/main/java/io/swagger/swaggerhub/tasks/UploadTask.java @@ -34,7 +34,7 @@ public class UploadTask extends DefaultTask { private String format = "json"; private String oas = "2.0"; private Boolean onPremise = false; - private String onPremiseAPISuffix = "/v1"; + private String onPremiseAPISuffix = "v1"; private SwaggerHubClient swaggerHubClient;