Indexable
[toLang: string]: any
Index
Methods - TargetCodeGenerator
Constructors
constructor
- new Transpiler(s: JSONSchema | JSONSchema[]): Transpiler
-
Parameters
-
s: JSONSchema | JSONSchema[]
Properties
megaSchema
megaSchema: JSONSchema
Other Methods
Private
transpile
- transpile(gen: CodeGen): string
-
Returns string
Python Methods
toPy
- toPy(): string
-
Returns string
toPython
- toPython(): string
-
Returns string
Rust Methods
toGo
- toGo(): string
-
Returns string
toGolang
- toGolang(): string
-
Returns string
toRs
- toRs(): string
-
Returns string
toRust
- toRust(): string
-
Returns string
TargetCodeGenerator Methods
toGo
- toGo(): string
-
Returns string
toGolang
- toGolang(): string
-
Returns string
toPy
- toPy(): string
-
Returns string
toPython
- toPython(): string
-
Returns string
toRs
- toRs(): string
-
Returns string
toRust
- toRust(): string
-
Returns string
toTs
- toTs(): string
-
Returns string
toTypescript
- toTypescript(): string
-
Returns string
Typescript Methods
toTs
- toTs(): string
-
Returns string
toTypescript
- toTypescript(): string
-
Returns string
Provides a high-level interface for getting typings given a schema.