corrected JavaDos issues that were UNRELATED to this PR to get the CI server moving.

This commit is contained in:
Patrick Culligan
2015-12-26 18:18:14 -06:00
parent ef1222f2bf
commit 3266fbbf81

View File

@@ -307,7 +307,7 @@ public class DefaultCodegen {
* Return the parameter name by removing invalid characters and proper escaping if
* it's a reserved word.
*
* @param property Codegen property object
* @param name Codegen property object
* @return the sanitized parameter name
*/
public String toParamName(String name) {
@@ -332,8 +332,9 @@ public class DefaultCodegen {
* Return the escaped name of the reserved word
*
* @param name the name to be escaped
* @throws Runtime exception as reserved word is not allowed (default behavior)
* @return the escaped reserved word
*
* throws Runtime exception as reserved word is not allowed (default behavior)
*/
public String escapeReservedWord(String name) {
throw new RuntimeException("reserved word " + name + " not allowed");
@@ -369,9 +370,8 @@ public class DefaultCodegen {
* between Swagger type and the corresponding import statement for the language. This will
* also add some language specified CLI options, if any.
*
* @param path the path of the operation
* @param operation Swagger operation object
* @return string presentation of the example path
*
* returns string presentation of the example path (it's a constructor)
*/
public DefaultCodegen() {
defaultIncludes = new HashSet<String>(
@@ -1430,7 +1430,7 @@ public class DefaultCodegen {
* Convert Swagger Parameter object to Codegen Parameter object
*
* @param param Swagger parameter object
* @param a set of imports for library/package/module
* @param imports set of imports for library/package/module
* @return Codegen Parameter object
*/
public CodegenParameter fromParameter(Parameter param, Set<String> imports) {
@@ -2015,6 +2015,7 @@ public class DefaultCodegen {
/**
* All library templates supported.
* (key: library name, value: library description)
* @return the supported libraries
*/
public Map<String, String> supportedLibraries() {
return supportedLibraries;