mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
Add default includes for Array and Object.
This commit is contained in:
parent
af6926bd6f
commit
b1a5080121
@ -53,6 +53,12 @@ public class JavascriptClosureAngularClientCodegen extends DefaultCodegen implem
|
||||
typeMapping.put("map", "Object");
|
||||
typeMapping.put("DateTime", "Date");
|
||||
|
||||
importMapping = new HashMap<String, String>();
|
||||
defaultIncludes = new HashSet<String>(Arrays.asList(
|
||||
"Object",
|
||||
"Array"
|
||||
));
|
||||
|
||||
outputFolder = "generated-code/javascript-closure-angular";
|
||||
modelTemplateFiles.put("model.mustache", ".js");
|
||||
apiTemplateFiles.put("api.mustache", ".js");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters
|
||||
* Version: 1.0.0
|
||||
* Generated at: 2016-01-27T23:29:24.021-07:00
|
||||
* Generated at: 2016-01-27T23:51:03.092-07:00
|
||||
* Generated by: class io.swagger.codegen.languages.JavascriptClosureAngularClientCodegen
|
||||
*/
|
||||
/**
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters
|
||||
* Version: 1.0.0
|
||||
* Generated at: 2016-01-27T23:29:24.021-07:00
|
||||
* Generated at: 2016-01-27T23:51:03.092-07:00
|
||||
* Generated by: class io.swagger.codegen.languages.JavascriptClosureAngularClientCodegen
|
||||
*/
|
||||
/**
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters
|
||||
* Version: 1.0.0
|
||||
* Generated at: 2016-01-27T23:29:24.021-07:00
|
||||
* Generated at: 2016-01-27T23:51:03.092-07:00
|
||||
* Generated by: class io.swagger.codegen.languages.JavascriptClosureAngularClientCodegen
|
||||
*/
|
||||
/**
|
||||
@ -16,7 +16,6 @@
|
||||
goog.provide('API.Client.UserApi');
|
||||
|
||||
goog.require('API.Client.User');
|
||||
goog.require('java.util.List');
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
Loading…
Reference in New Issue
Block a user