Skip to content
Snippets Groups Projects
Commit 491a81d2 authored by Martti Käärik's avatar Martti Käärik
Browse files

Sometimes :) the codegen doesn't like backslashes in URIs

parent 98e72876
No related branches found
No related tags found
No related merge requests found
Pipeline #9352 passed
......@@ -611,7 +611,7 @@ public class OpenAPI2TDLTranslatorNext extends AbstractTranslator {
CodegenConfigurator configurator = new CodegenConfigurator();
// We create our own but the setting is required by the configurator
configurator.setGeneratorName("java");
configurator.setInputSpec(filename);
configurator.setInputSpec(filename.replaceAll("\\\\", "/"));
// Set rest of configuration options directly to config (JavaClientCodegen)
// Originally...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment