Skip to content

Commit

Permalink
Merge pull request #743 from fjtirado/Fix_#742
Browse files Browse the repository at this point in the history
[Fix #742]
  • Loading branch information
fjtirado authored Jul 10, 2024
2 parents b293751 + 893f74f commit b01bd56
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.quarkiverse.openapi.generator.deployment.template;

import java.io.File;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.concurrent.CompletableFuture;
Expand Down Expand Up @@ -49,7 +50,7 @@ public boolean genDeprecatedApiAttr(final String pkg, final String classname,
}

public String parseUri(String uri) {
return OpenApiGeneratorOutputPaths.getRelativePath(Path.of(uri)).toString();
return OpenApiGeneratorOutputPaths.getRelativePath(Path.of(uri)).toString().replace(File.separatorChar, '/');
}

@Override
Expand Down

0 comments on commit b01bd56

Please sign in to comment.