Skip to content

Commit 6d88fab

Browse files
committed
Add deprecatedInVersion and deprecatedMessage
1 parent 59765a0 commit 6d88fab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

templates/libraries/jersey3/api_summary.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
{{/returnType}}
1717
* @throws ApiException if fails to make API call
1818
{{#isDeprecated}}
19-
* @deprecated
19+
* @deprecated since {{#appName}}{{{.}}}{{/appName}} v{{#vendorExtensions.x-deprecatedInVersion}}{{.}}{{/vendorExtensions.x-deprecatedInVersion}}
20+
* {{#vendorExtensions.x-deprecatedMessage}}{{{.}}}{{/vendorExtensions.x-deprecatedMessage}}
2021
{{/isDeprecated}}
2122
{{#externalDocs}}
2223
* {{description}}

templates/libraries/jersey3/api_summary_overload.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
{{/returnType}}
1313
* @throws ApiException if fails to make API call
1414
{{#isDeprecated}}
15-
* @deprecated
15+
* @deprecated since {{#appName}}{{{.}}}{{/appName}} v{{#vendorExtensions.x-deprecatedInVersion}}{{.}}{{/vendorExtensions.x-deprecatedInVersion}}
16+
* {{#vendorExtensions.x-deprecatedMessage}}{{{.}}}{{/vendorExtensions.x-deprecatedMessage}}
1617
{{/isDeprecated}}
1718
{{#externalDocs}}
1819
* {{description}}

0 commit comments

Comments
 (0)