mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-05 07:01:01 +00:00
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())) {
|
if (StringUtils.isEmpty(info.getDescription())) {
|
||||||
// set a default description if none if provided
|
// set a default description if none if provided
|
||||||
config.additionalProperties().put("appDescription",
|
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 {
|
} else {
|
||||||
config.additionalProperties().put("appDescription",
|
config.additionalProperties().put("appDescription",
|
||||||
config.escapeText(info.getDescription()));
|
config.escapeText(info.getDescription()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user