File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,7 +176,11 @@ function getConfig(p) {
176176 let protocol = p ;
177177 let configName = 'broker' ;
178178
179- if ( p === 'ws' ) configName = 'ws' ;
179+ if ( p === 'ws' ) {
180+ configName = 'ws' ;
181+ return `config.${ configName } ` ;
182+ }
183+
180184 if ( p === 'kafka-secure' ) protocol = 'kafka' ;
181185
182186 return `config.${ configName } .${ protocol } ` ;
Original file line number Diff line number Diff line change 44 version : {{ asyncapi.info().version() }}
55{% if asyncapi.server(params.server).protocol() === "ws" %}
66 ws :
7- port : {{ asyncapi.server(params.server).url() | replaceVariablesWithValues (asyncapi.server(params.server).variables()) | port(80) }}
7+ port : {{ asyncapi.server(params.server).url() | replaceServerVariablesWithValues (asyncapi.server(params.server).variables()) | port(80) }}
88 path : /ws
99 topicSeparator : ' __'
1010{% endif %}
You can’t perform that action at this time.
0 commit comments