File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export function generateSchemaType({
199
199
tsTypeLiteral (
200
200
Object . entries ( schema . properties ) . map ( ( [ fieldName , fieldSchema ] ) => {
201
201
let jsdoc = extractJsDoc ( fieldSchema ) ;
202
- const currentProcessJsDocPath = processJsDocPath ?? [ ] ;
202
+ const currentProcessJsDocPath = ( processJsDocPath ?? [ ] ) . concat ( fieldName ) ;
203
203
if ( processJsDoc ) {
204
204
jsdoc = processJsDoc ( jsdoc , fieldSchema , currentProcessJsDocPath ) ;
205
205
}
@@ -211,7 +211,7 @@ export function generateSchemaType({
211
211
generateSchemaType ( {
212
212
schema : fieldSchema ,
213
213
...commonSchemaGenerationOptions ,
214
- processJsDocPath : currentProcessJsDocPath . concat ( fieldName )
214
+ processJsDocPath : currentProcessJsDocPath
215
215
} )
216
216
)
217
217
) ,
You can’t perform that action at this time.
0 commit comments