forked from loafle/openapi-generator-original
Fix for clojure API filenames whenthe API is more than one word (as clojure filenames have to replace dashes with underscores)
This commit is contained in:
@@ -160,6 +160,11 @@ public class ClojureClientCodegen extends DefaultCodegen implements CodegenConfi
|
||||
return dashize(sanitizeName(operationId));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toApiFilename(String name) {
|
||||
return underscore(toApiName(name));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toApiName(String name) {
|
||||
return dashize(name);
|
||||
|
||||
Reference in New Issue
Block a user