Klasse ApiTranspilerTypeScriptPlugin

java.lang.Object
de.svws_nrw.transpiler.TranspilerLanguagePlugin
de.svws_nrw.transpiler.typescript.ApiTranspilerTypeScriptPlugin

public final class ApiTranspilerTypeScriptPlugin extends TranspilerLanguagePlugin
This is the OpenAPI transpiler language plugin for Type Script.
  • Felddetails

    • indentC

      public int indentC
      the indentation state used during transpilation
  • Konstruktordetails

    • ApiTranspilerTypeScriptPlugin

      public ApiTranspilerTypeScriptPlugin(Transpiler transpiler, String outputDir)
      Create a Type Script api transpiler language plugin
      Parameter:
      transpiler - the transpiler that uses this plugin
      outputDir - the output directory where all generated files should be placed
  • Methodendetails

    • setIgnoreJavaPackagePrefix

      public void setIgnoreJavaPackagePrefix(String prefix)
      Sets the configuration parameter for the prefix part of the java packages to be ignored while creating the sub directories for the Type Script output.
      Parameter:
      prefix - the prefix part of the java package to be ignored
    • transpile

      public void transpile()
      Beschreibung aus Klasse kopiert: TranspilerLanguagePlugin
      This method is invoked by the transpiler to start the transpiling process for this language plugin. It must be implemented by the language plugin.
      Angegeben von:
      transpile in Klasse TranspilerLanguagePlugin