forked from loafle/openapi-generator-original
remove reformat
This commit is contained in:
parent
6ac27fcafc
commit
90d61578d0
@ -688,7 +688,7 @@ public class DefaultCodegen {
|
||||
*
|
||||
* @param name the name to be escaped
|
||||
* @return the escaped reserved word
|
||||
* <p>
|
||||
*
|
||||
* throws Runtime exception as reserved word is not allowed (default behavior)
|
||||
*/
|
||||
@SuppressWarnings("static-method")
|
||||
@ -725,8 +725,8 @@ public class DefaultCodegen {
|
||||
* This method will map between Swagger type and language-specified type, as well as mapping
|
||||
* between Swagger type and the corresponding import statement for the language. This will
|
||||
* also add some language specified CLI options, if any.
|
||||
* <p>
|
||||
* <p>
|
||||
*
|
||||
*
|
||||
* returns string presentation of the example path (it's a constructor)
|
||||
*/
|
||||
public DefaultCodegen() {
|
||||
@ -1021,7 +1021,6 @@ public class DefaultCodegen {
|
||||
|
||||
/**
|
||||
* returns the swagger type for the property
|
||||
*
|
||||
* @param p Swagger property object
|
||||
* @return string presentation of the type
|
||||
**/
|
||||
@ -1618,7 +1617,6 @@ public class DefaultCodegen {
|
||||
|
||||
/**
|
||||
* Override with any special handling of response codes
|
||||
*
|
||||
* @param responses Swagger Operation's responses
|
||||
* @return default method response or <tt>null</tt> if not found
|
||||
*/
|
||||
@ -2729,6 +2727,7 @@ public class DefaultCodegen {
|
||||
*
|
||||
* @param templateName template name
|
||||
* @param tag tag
|
||||
*
|
||||
* @return the API documentation file name with full path
|
||||
*/
|
||||
public String apiDocFilename(String templateName, String tag) {
|
||||
@ -2741,6 +2740,7 @@ public class DefaultCodegen {
|
||||
*
|
||||
* @param templateName template name
|
||||
* @param tag tag
|
||||
*
|
||||
* @return the API test file name with full path
|
||||
*/
|
||||
public String apiTestFilename(String templateName, String tag) {
|
||||
@ -2763,7 +2763,6 @@ public class DefaultCodegen {
|
||||
/**
|
||||
* All library templates supported.
|
||||
* (key: library name, value: library description)
|
||||
*
|
||||
* @return the supported libraries
|
||||
*/
|
||||
public Map<String, String> supportedLibraries() {
|
||||
@ -2948,7 +2947,8 @@ public class DefaultCodegen {
|
||||
folder += supportingFile.folder;
|
||||
if(!"".equals(folder)) {
|
||||
folder += File.separator + supportingFile.destinationFilename;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
folder = supportingFile.destinationFilename;
|
||||
}
|
||||
if(!new File(folder).exists()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user