forked from loafle/openapi-generator-original
Merge pull request #3595 from MikeRalphson/patch-1
Fix typo, descripton -> description
This commit is contained in:
commit
c166609438
@ -153,7 +153,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
||||
if (StringUtils.isEmpty(info.getDescription())) {
|
||||
// set a default description if none if provided
|
||||
config.additionalProperties().put("appDescription",
|
||||
"No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)");
|
||||
"No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)");
|
||||
} else {
|
||||
config.additionalProperties().put("appDescription",
|
||||
config.escapeText(info.getDescription()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user