Skip to content

Commit 55246ec

Browse files
committed
fix; partially revert 22818f7
1 parent 22818f7 commit 55246ec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

adaptor.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -444,12 +444,12 @@ function convertToApis(source,obj,defaults) {
444444
if (!entry) {
445445
entry = {};
446446
entry.name = tagName;
447-
if (defaults.language === 'typescript') {
448-
entry.classname = Case.pascal(entry.name);
449-
}
450-
else {
451-
entry.classname = tagName+'Api';
452-
}
447+
//if (defaults.language === 'typescript') {
448+
// entry.classname = Case.pascal(entry.name);
449+
//}
450+
//else {
451+
entry.classname = tagName+'Api';
452+
//}
453453
entry.classFilename = tagName+'Api';
454454
entry.classVarName = tagName; // see issue #21
455455
entry.packageName = obj.packageName; //! this may not be enough / sustainable. Or many props at wrong level :(

0 commit comments

Comments
 (0)