Skip to content

Commit

Permalink
fix: path segment needs to be free of slashes (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
arumoy authored Oct 25, 2023
1 parent dd6ede6 commit 9120ad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/swagger/swaggerhub/tasks/UploadTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9120ad6

Please sign in to comment.