Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ public interface TemplateProcessor {
* @param path The path which has caused an error
* @param context The reason for the error
*/
default void error(Path path, String context) { };
default void error(Path path, String context) { }
}
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public static final class Builder {
private String ignoreFileOverride;

// NOTE: All collections must be mutable in the builder, and copied to a new immutable collection in .build()
private Map<String, String> globalProperties = new HashMap<>();;
private Map<String, String> globalProperties = new HashMap<>();

private Builder() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ public void setIconUri(String iconUri){
this.iconUri = iconUri;
}

public void setSkipVerbParsing(boolean skipVerbParsing) { this.skipVerbParsing = skipVerbParsing; };
public void setSkipVerbParsing(boolean skipVerbParsing) { this.skipVerbParsing = skipVerbParsing; }

@Override
public void processOpts() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public class TypeScriptAngularClientCodegen extends AbstractTypeScriptClientCode
private static String CLASS_NAME_SUFFIX_PATTERN = "^[a-zA-Z0-9]*$";
private static String FILE_NAME_SUFFIX_PATTERN = "^[a-zA-Z0-9.-]*$";

public static enum QUERY_PARAM_OBJECT_FORMAT_TYPE {dot, json, key};
public static enum PROVIDED_IN_LEVEL {none, root, any, platform};
public static enum QUERY_PARAM_OBJECT_FORMAT_TYPE {dot, json, key}
public static enum PROVIDED_IN_LEVEL {none, root, any, platform}

private static final String DEFAULT_IMPORT_PREFIX = "./";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ enum MergePolicy {
OVERWRITE_EXISTING
}

;

/**
* If the cache is dirty, saves the object graph in JSON format to the specified file.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2726,7 +2726,7 @@ public void testPropertyGetHasValidation() {
codegen.setOpenAPI(openAPI);

String modelName = "ObjectWithPropertiesThatHaveValidations";
Schema sc = openAPI.getComponents().getSchemas().get(modelName);;
Schema sc = openAPI.getComponents().getSchemas().get(modelName);
CodegenModel cm = codegen.fromModel(modelName, sc);

List<CodegenProperty> props = cm.getVars();
Expand Down