forked from loafle/openapi-generator-original
Add java code comments based on explanation from Jim Schubert (#5048)
This commit is contained in:
committed by
Jim Schubert
parent
f744ec55f8
commit
449026add7
@@ -136,6 +136,10 @@ public class DefaultCodegen implements CodegenConfig {
|
||||
protected String modelNamePrefix = "", modelNameSuffix = "";
|
||||
protected String apiNameSuffix = "Api";
|
||||
protected String testPackage = "";
|
||||
/*
|
||||
apiTemplateFiles are for API outputs only (controllers/handlers).
|
||||
API templates may be written multiple times; APIs are grouped by tag and the file is written once per tag group.
|
||||
*/
|
||||
protected Map<String, String> apiTemplateFiles = new HashMap<String, String>();
|
||||
protected Map<String, String> modelTemplateFiles = new HashMap<String, String>();
|
||||
protected Map<String, String> apiTestTemplateFiles = new HashMap<String, String>();
|
||||
@@ -149,6 +153,11 @@ public class DefaultCodegen implements CodegenConfig {
|
||||
protected Map<String, Object> additionalProperties = new HashMap<String, Object>();
|
||||
protected Map<String, String> serverVariables = new HashMap<String, String>();
|
||||
protected Map<String, Object> vendorExtensions = new HashMap<String, Object>();
|
||||
/*
|
||||
Supporting files are those which aren't models, APIs, or docs.
|
||||
These get a different map of data bound to the templates. Supporting files are written once.
|
||||
See also 'apiTemplateFiles'.
|
||||
*/
|
||||
protected List<SupportingFile> supportingFiles = new ArrayList<SupportingFile>();
|
||||
protected List<CliOption> cliOptions = new ArrayList<CliOption>();
|
||||
protected boolean skipOverwrite;
|
||||
|
||||
Reference in New Issue
Block a user