-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Milestone
Description
Description
when generating the client configuration a leading space character makes the variable unusable
Swagger-codegen version
still present in Master (always been there as far as I can see)
Swagger declaration file content or url
Not relevant (any with basic auth)
"securityDefinitions": {
"basic-demo": {
"type": "basic"
}
}
Command line used for generation
java -jar ... -l spring --library spring-cloud
Steps to reproduce
Related issues/PRs
I have a PR ready just validate the issue and I will submit the pull reuest
Suggest a fix/enhancement
there is a space between { and {{{title}}} in the template : @Value("${ {{{title}}}.security.{{{name}}}.username:}")
and should be replaced by this
{{=<% %>=}}@Value("${<%title%>.security.<%name%>.username:}")<%={{ }}=%>
this problem appears 3 times in this file