@@ -209,29 +209,54 @@ class CodeGenProcess {
209209 Ts : this . config . Ts ,
210210 formatDescription :
211211 this . schemaParserFabric . schemaFormatters . formatDescription . bind (
212- this . schemaParserFabric . schemaFormatters ,
213- ) ,
212+ this . schemaParserFabric . schemaFormatters ,
213+ ) ,
214214 internalCase : internalCase ,
215215 classNameCase : pascalCase ,
216216 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+ ) ,
222234 safeAddNullToType :
223- this . schemaParserFabric . schemaUtils . safeAddNullToType . bind ( this . schemaParserFabric . schemaUtils ) ,
235+ this . schemaParserFabric . schemaUtils . safeAddNullToType . bind (
236+ this . schemaParserFabric . schemaUtils ,
237+ ) ,
224238 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+ ) ,
229252 fmtToJSDocLine : function fmtToJSDocLine ( line , { eol = true } ) {
230253 return ` * ${ line } ${ eol ? "\n" : "" } ` ;
231254 } ,
232255 NameResolver : NameResolver ,
233256 _,
234- require : this . templatesWorker . requireFnFromTemplate . bind ( this . templatesWorker ) ,
257+ require : this . templatesWorker . requireFnFromTemplate . bind (
258+ this . templatesWorker ,
259+ ) ,
235260 } ,
236261 config : this . config ,
237262 } ;
0 commit comments