Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JsonSchemaToTypes

Provides a high-level interface for getting typings given a schema.

Hierarchy

  • JsonSchemaToTypes

Indexable

[toLang: string]: any

Provides a high-level interface for getting typings given a schema.

Index

Constructors

Properties

Other Methods

Python Methods

Rust Methods

Typescript Methods

Constructors

constructor

Properties

megaSchema

megaSchema: JSONSchema

Other Methods

to

  • Generic transpile method.

    Parameters

    Returns string

Python Methods

toPy

  • toPy(): string
  • Returns the types in Python

    category

    TargetCodeGenerator

    Returns string

    The types present in the megaSchema, seperated by newlines.

toPython

  • toPython(): string
  • Returns the types in Python

    category

    TargetCodeGenerator

    Returns string

    The types present in the megaSchema, seperated by newlines.

Rust Methods

toGo

  • toGo(): string
  • Returns the types in Rust

    category

    TargetCodeGenerator

    Returns string

    The types present in the megaSchema, seperated by newlines.

toGolang

  • toGolang(): string
  • Returns the types in Rust

    category

    TargetCodeGenerator

    Returns string

    The types present in the megaSchema, seperated by newlines.

toRs

  • toRs(): string
  • Returns the types in Rust

    category

    TargetCodeGenerator

    Returns string

    The types present in the megaSchema, seperated by newlines.

toRust

  • toRust(): string
  • Returns the types in Rust

    category

    TargetCodeGenerator

    Returns string

    The types present in the megaSchema, seperated by newlines.

Typescript Methods

toTs

  • toTs(): string
  • category

    TargetCodeGenerator

    Returns string

toTypescript

  • toTypescript(): string
  • Returns the types in Typescript

    category

    TargetCodeGenerator

    Returns string

    The types present in the megaSchema, seperated by newlines.