forked from loafle/openapi-generator-original
Fix typo, descripton -> description
This commit is contained in:
parent
7a49f96a03
commit
f6a91db2d3
@ -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