forked from loafle/openapi-generator-original
Bugfix: Generated typescript-angular code fails to compile when models.ts file is empty (#6076)
* Fixed * Fixed
This commit is contained in:
parent
a04dfe0ccc
commit
a2d19a1feb
@ -1,5 +1,7 @@
|
|||||||
{{>licenseInfo}}
|
{{>licenseInfo}}
|
||||||
|
{{^models.isEmpty}}
|
||||||
import * as models from '../model/models';
|
import * as models from '../model/models';
|
||||||
|
{{/models.isEmpty}}
|
||||||
|
|
||||||
/* tslint:disable:no-unused-variable member-ordering */
|
/* tslint:disable:no-unused-variable member-ordering */
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2.2.3-SNAPSHOT
|
2.2.3
|
@ -27,10 +27,10 @@ export class FakeApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
|
*
|
||||||
*
|
* @summary To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
|
||||||
* @param test code inject * ' " =end rn n r To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
|
* @param test code inject * ' " =end rn n r To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
|
||||||
*/
|
*/
|
||||||
public testCodeInjectEndRnNR (test code inject * ' " =end rn n r?: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
public testCodeInjectEndRnNR (test code inject * ' " =end rn n r?: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<{}> {
|
||||||
const localVarPath = this.basePath + '/fake';
|
const localVarPath = this.basePath + '/fake';
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2.2.3-SNAPSHOT
|
2.2.3
|
Loading…
x
Reference in New Issue
Block a user