@@ -13,16 +13,19 @@ const OpenApi3_1SwaggerClientDereferenceStrategy = OpenApi3_1DereferenceStrategy
13
13
useCircularStructures : true ,
14
14
allowMetaPatches : false ,
15
15
parameterMacro : null ,
16
+ modelPropertyMacro : null ,
16
17
} ,
17
18
init ( {
18
19
useCircularStructures = this . useCircularStructures ,
19
20
allowMetaPatches = this . allowMetaPatches ,
20
21
parameterMacro = this . parameterMacro ,
22
+ modelPropertyMacro = this . modelPropertyMacro ,
21
23
} = { } ) {
22
24
this . name = 'openapi-3-1-swagger-client' ;
23
25
this . useCircularStructures = useCircularStructures ;
24
26
this . allowMetaPatches = allowMetaPatches ;
25
27
this . parameterMacro = parameterMacro ;
28
+ this . modelPropertyMacro = modelPropertyMacro ;
26
29
} ,
27
30
methods : {
28
31
async dereference ( file , options ) {
@@ -45,6 +48,7 @@ const OpenApi3_1SwaggerClientDereferenceStrategy = OpenApi3_1DereferenceStrategy
45
48
useCircularStructures : this . useCircularStructures ,
46
49
allowMetaPatches : this . allowMetaPatches ,
47
50
parameterMacro : this . parameterMacro ,
51
+ modelPropertyMacro : this . modelPropertyMacro ,
48
52
} ) ;
49
53
const dereferencedElement = await visitAsync ( refSet . rootRef . value , visitor , {
50
54
keyMap,
0 commit comments