@@ -209,29 +209,54 @@ class CodeGenProcess {
209
209
Ts : this . config . Ts ,
210
210
formatDescription :
211
211
this . schemaParserFabric . schemaFormatters . formatDescription . bind (
212
- this . schemaParserFabric . schemaFormatters ,
213
- ) ,
212
+ this . schemaParserFabric . schemaFormatters ,
213
+ ) ,
214
214
internalCase : internalCase ,
215
215
classNameCase : pascalCase ,
216
216
pascalCase : pascalCase ,
217
- getInlineParseContent : this . schemaParserFabric . getInlineParseContent . bind ( this . schemaParserFabric ) ,
218
- getParseContent : this . schemaParserFabric . getParseContent . bind ( this . schemaParserFabric ) ,
219
- getComponentByRef : this . schemaComponentsMap . get . bind ( this . schemaComponentsMap ) ,
220
- parseSchema : this . schemaParserFabric . parseSchema . bind ( this . schemaParserFabric ) ,
221
- checkAndAddNull : this . schemaParserFabric . schemaUtils . safeAddNullToType . bind ( this . schemaParserFabric . schemaUtils ) ,
217
+ getInlineParseContent :
218
+ this . schemaParserFabric . getInlineParseContent . bind (
219
+ this . schemaParserFabric ,
220
+ ) ,
221
+ getParseContent : this . schemaParserFabric . getParseContent . bind (
222
+ this . schemaParserFabric ,
223
+ ) ,
224
+ getComponentByRef : this . schemaComponentsMap . get . bind (
225
+ this . schemaComponentsMap ,
226
+ ) ,
227
+ parseSchema : this . schemaParserFabric . parseSchema . bind (
228
+ this . schemaParserFabric ,
229
+ ) ,
230
+ checkAndAddNull :
231
+ this . schemaParserFabric . schemaUtils . safeAddNullToType . bind (
232
+ this . schemaParserFabric . schemaUtils ,
233
+ ) ,
222
234
safeAddNullToType :
223
- this . schemaParserFabric . schemaUtils . safeAddNullToType . bind ( this . schemaParserFabric . schemaUtils ) ,
235
+ this . schemaParserFabric . schemaUtils . safeAddNullToType . bind (
236
+ this . schemaParserFabric . schemaUtils ,
237
+ ) ,
224
238
isNeedToAddNull :
225
- this . schemaParserFabric . schemaUtils . isNullMissingInType . bind ( this . schemaParserFabric . schemaUtils ) ,
226
- inlineExtraFormatters : this . schemaParserFabric . schemaFormatters . inline . bind ( this . schemaParserFabric . schemaFormatters ) ,
227
- formatters : this . schemaParserFabric . schemaFormatters . base . bind ( this . schemaParserFabric . schemaFormatters ) ,
228
- formatModelName : this . typeNameFormatter . format . bind ( this . typeNameFormatter ) ,
239
+ this . schemaParserFabric . schemaUtils . isNullMissingInType . bind (
240
+ this . schemaParserFabric . schemaUtils ,
241
+ ) ,
242
+ inlineExtraFormatters :
243
+ this . schemaParserFabric . schemaFormatters . inline . bind (
244
+ this . schemaParserFabric . schemaFormatters ,
245
+ ) ,
246
+ formatters : this . schemaParserFabric . schemaFormatters . base . bind (
247
+ this . schemaParserFabric . schemaFormatters ,
248
+ ) ,
249
+ formatModelName : this . typeNameFormatter . format . bind (
250
+ this . typeNameFormatter ,
251
+ ) ,
229
252
fmtToJSDocLine : function fmtToJSDocLine ( line , { eol = true } ) {
230
253
return ` * ${ line } ${ eol ? "\n" : "" } ` ;
231
254
} ,
232
255
NameResolver : NameResolver ,
233
256
_,
234
- require : this . templatesWorker . requireFnFromTemplate . bind ( this . templatesWorker ) ,
257
+ require : this . templatesWorker . requireFnFromTemplate . bind (
258
+ this . templatesWorker ,
259
+ ) ,
235
260
} ,
236
261
config : this . config ,
237
262
} ;
0 commit comments