mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-13 16:03:43 +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}}
|
||||
{{#deprecated}}
|
||||
/**
|
||||
*
|
||||
{{#deprecated}}
|
||||
* @deprecated
|
||||
{{/deprecated}}
|
||||
*/
|
||||
{{/deprecated}}
|
||||
{{/description}}
|
||||
|
@ -372,17 +372,14 @@ export interface NumberOnly {
|
||||
export interface ObjectWithDeprecatedFields {
|
||||
'uuid'?: string;
|
||||
/**
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
'id'?: number;
|
||||
/**
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
'deprecatedRef'?: DeprecatedObject;
|
||||
/**
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
'bars'?: Array<string>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user