forked from loafle/openapi-generator-original
parent
28467a5c3f
commit
ce11e035d8
@ -24,10 +24,10 @@ public class ClientConfiguration {
|
|||||||
|
|
||||||
{{#authMethods}}
|
{{#authMethods}}
|
||||||
{{#isBasic}}
|
{{#isBasic}}
|
||||||
@Value("${ {{{title}}}.security.{{{name}}}.username:}")
|
{{=<% %>=}}@Value("${<%title%>.security.<%name%>.username:}")<%={{ }}=%>
|
||||||
private String {{{name}}}Username;
|
private String {{{name}}}Username;
|
||||||
|
|
||||||
@Value("${ {{{title}}}.security.{{{name}}}.password:}")
|
{{=<% %>=}}@Value("${<%title%>.security.<%name%>.password:}")<%={{ }}=%>
|
||||||
private String {{{name}}}Password;
|
private String {{{name}}}Password;
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@ -38,7 +38,7 @@ public class ClientConfiguration {
|
|||||||
|
|
||||||
{{/isBasic}}
|
{{/isBasic}}
|
||||||
{{#isApiKey}}
|
{{#isApiKey}}
|
||||||
@Value("${ {{{title}}}.security.{{{name}}}.key:}")
|
{{=<% %>=}}@Value("${<%title%>.security.<%name%>.key:}")<%={{ }}=%>
|
||||||
private String {{{name}}}Key;
|
private String {{{name}}}Key;
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@ -102,4 +102,4 @@ public class ClientConfiguration {
|
|||||||
{{/isImplicit}}
|
{{/isImplicit}}
|
||||||
{{/isOAuth}}
|
{{/isOAuth}}
|
||||||
{{/authMethods}}
|
{{/authMethods}}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user