Skip to content

Commit

Permalink
fix; partially revert 22818f7
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson committed Apr 2, 2018
1 parent 22818f7 commit 55246ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,12 +444,12 @@ function convertToApis(source,obj,defaults) {
if (!entry) {
entry = {};
entry.name = tagName;
if (defaults.language === 'typescript') {
entry.classname = Case.pascal(entry.name);
}
else {
entry.classname = tagName+'Api';
}
//if (defaults.language === 'typescript') {
// entry.classname = Case.pascal(entry.name);
//}
//else {
entry.classname = tagName+'Api';
//}
entry.classFilename = tagName+'Api';
entry.classVarName = tagName; // see issue #21
entry.packageName = obj.packageName; //! this may not be enough / sustainable. Or many props at wrong level :(
Expand Down

0 comments on commit 55246ec

Please sign in to comment.