Skip to content

Commit 3f38f16

Browse files
Add correct version info to generated classes javadoc headers
1 parent 74ab952 commit 3f38f16

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

generator/templates/base_template.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,13 @@
6363
* <td>{%- for d in param.description %}{{d}}{%- endfor %}</td>
6464
* <td>{%- if param.mandatory is eq true %}Y{%- else %}N{%- endif %}</td>
6565
* <td>{%- for k in param.values %}{{ '{' if loop.first}}"{{k}}": {{param.values[k]}}{{ ', ' if not loop.last else '}'}}{%- endfor %}</td>
66-
* <td>{%- if param.since is defined %}SmartDeviceLink {{param.since}}{%- endif %}</td>
66+
{%- if param.since is defined and param.since is not none %}{% set see, deprecated, since, history, spacing = param.see, param.deprecated, param.since, param.history, ' * ' %}
67+
* <td>
68+
{%- include "javadoc_version_info.java" %}
69+
* </td>
70+
{%- else %}
71+
* <td></td>
72+
{%- endif %}
6773
* </tr>
6874
{%- endfor %}
6975
* </table>

0 commit comments

Comments
 (0)