nl_tokens: #region sts
pl_tokens: async function genSTS ( options ) { try { switch ( options . tplName ) { case 'swagger-list' : const st = await genSTBySTS ( options ) ; if ( st == null ) { console . warn ( ` ` ) ; } options . stUrl = options . extraArgs . swaggerPath ; options . stColumns = JSON . stringify ( st , null , 2 ) ; break ; case 'swagger-edit' : const sf = await genSFBySTS ( options ) ; if ( sf == null ) { console . warn ( ` ` ) ; } options . sfUrl = <mask> . extraArgs . swaggerPath . replace ( / (\{[^\}]+\}) / g , '' ) ; options . sfSchema = JSON . stringify ( sf , null , 2 ) ; break ; default : throw new Error ( ` ${ options . tplName } ` ) } } catch ( err ) { throw new Error ( ` ${ err } ` ) ; } }