mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 00:13:50 +00:00
[typescript-axios]: align jsdoc for @deprecated
(#21778)
* refactor: simplify `description` OR `deprecated` template * chore: update generator output --------- Co-authored-by: nocontribute <>
This commit is contained in:
parent
caf53ac6c4
commit
96b44ce727
@ -20,10 +20,7 @@ export interface {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{
|
|||||||
{{^description}}
|
{{^description}}
|
||||||
{{#deprecated}}
|
{{#deprecated}}
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
{{#deprecated}}
|
|
||||||
* @deprecated
|
* @deprecated
|
||||||
{{/deprecated}}
|
|
||||||
*/
|
*/
|
||||||
{{/deprecated}}
|
{{/deprecated}}
|
||||||
{{/description}}
|
{{/description}}
|
||||||
|
@ -372,17 +372,14 @@ export interface NumberOnly {
|
|||||||
export interface ObjectWithDeprecatedFields {
|
export interface ObjectWithDeprecatedFields {
|
||||||
'uuid'?: string;
|
'uuid'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
'id'?: number;
|
'id'?: number;
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
'deprecatedRef'?: DeprecatedObject;
|
'deprecatedRef'?: DeprecatedObject;
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
'bars'?: Array<string>;
|
'bars'?: Array<string>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user