Skip to content

Commit

Permalink
[Fix #742]
Browse files Browse the repository at this point in the history
Fixes #742
  • Loading branch information
fjtirado committed Jul 4, 2024
1 parent 4b5e814 commit 893f74f
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 893f74f

Please sign in to comment.