Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Cosmetics
  • Loading branch information
MichalFoksa committed Jun 22, 2019
commit 0fd8985c78248c2e4d25304cb6dcf2270fd1de6c
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@ public String getHelp() {
return "Creates a static openapi.yaml file (OpenAPI spec v3).";
}


@Override
public void processOpts() {
super.processOpts();
if (additionalProperties.containsKey(OUTPUT_NAME)) {
this.outputFile = additionalProperties.get(OUTPUT_NAME).toString();
outputFile = additionalProperties.get(OUTPUT_NAME).toString();
}
LOGGER.info("Output file [outputFile={}]", outputFile);
supportingFiles.add(new SupportingFile("openapi.mustache", outputFile));
Expand All @@ -70,7 +69,6 @@ public Map<String, Object> postProcessSupportingFileData(Map<String, Object> obj
return super.postProcessSupportingFileData(objs);
}


@Override
public String escapeQuotationMark(String input) {
// just return the original string
Expand Down