File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -440,6 +440,7 @@ function convertToApis(source,obj) {
440
440
entry = { } ;
441
441
entry . name = tagName ;
442
442
entry . classname = tagName + 'Api' ;
443
+ entry . classVarName = tagName ; // see issue #21
443
444
entry . packageName = obj . packageName ; //! this may not be enough / sustainable. Or many props at wrong level :(
444
445
entry . operations = { } ;
445
446
entry . operations . operation = [ ] ;
@@ -602,7 +603,7 @@ function getPrime(api,defaults) {
602
603
prime . swaggerCodegenVersion = 'openapi-codegen-v' + prime . generatorVersion ;
603
604
prime . appDescription = api . info . description || 'No description' ;
604
605
prime . projectDescription = prime . appDescription ;
605
- prime . classVarName = 'default' ; //? possibly an array of these based on tags (a la widdershins)
606
+ prime . classVarName = 'default' ; // see issue #21
606
607
prime . exportedName = prime . classname ;
607
608
prime . packageTitle = prime . classname ; /* Specifies an AssemblyTitle for the .NET Framework global assembly attributes stored in the AssemblyInfo file. */
608
609
prime . infoEmail = api . info . contact ? api . info . contact . email : null ;
You can’t perform that action at this time.
0 commit comments