You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do not use Maven or Gradle you can invoke typescript-generator directly using `TypeScriptGenerator.generateTypeScript()` method.
104
106
105
107
108
+
Input classes
109
+
-------------
110
+
Input classes can be specified using several parameters:
111
+
-**`classes`** - list of fully qualified class names, includes all listed classes and their dependencies, `$` character is used for nested classes like `com.example.ClassName$NestedClassName`
112
+
-**`classPatterns`** - list of glob patterns like `com.example.*Json`, includes all classes matched by the pattern, supported are `*` and `**` wildcards
113
+
-**`classesFromJaxrsApplication`** - fully qualified name of JAX-RS application class, all classes used by application resources will be included, recommended if you have JAX-RS application class
114
+
-**`classesFromAutomaticJaxrsApplication`** - value `true` will include classes from automatically discovered REST resources, recommended if you have JAX-RS application without `Application` subclass
115
+
-**`excludeClasses`** - list of fully qualified class names, excluded classes will be mapped to TypeScript `any` type, if exluded class is a resource then this resource will not be scanned for used classes
116
+
117
+
> Note: it is possible to use multiple parameters at the same time.
118
+
119
+
For more details see [Class Names Glob Patterns](../../wiki/Class-Names-Glob-Patterns) and [JAX RS Application](../../wiki/JAX-RS-Application) Wiki pages.
120
+
121
+
122
+
Output parameters
123
+
-----------------
124
+
Output is configured using several parameters, two of them are mandatory:
125
+
-`outputFile` - specifies path and name of output file
126
+
-`outputKind` - determines if and how module will be generated
127
+
- values are: `global`, `module`, `ambientModule`
128
+
129
+
For more details see [Modules and Namespaces](http://vojtechhabarta.github.io/typescript-generator/doc/ModulesAndNamespaces.html) page.
130
+
131
+
106
132
Download
107
133
--------
108
134
Releases are available from Maven Central Repository.
0 commit comments