How to use the quicktype-core/dist/support/Acronyms.AcronymStyleOptions.Pascal function in quicktype-core

To help you get started, we’ve selected a few quicktype-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github segmentio / typewriter / src / commands / gen-android.ts View on Github external
protected makeRenderer(renderContext: RenderContext, _: { [name: string]: any }): JavaRenderer {
    return new AnalyticsJavaWrapperRenderer(this, renderContext, {
      justTypes: true,
      packageName: this.packageName,
      trackingPlan: this.trackingPlan,
      acronymStyle: AcronymStyleOptions.Pascal,
      useList: true
    })
  }
  protected get defaultIndentation(): string {
github segmentio / typewriter / src / commands / gen-js / typescript.ts View on Github external
protected makeRenderer(
    renderContext: RenderContext,
    _: { [name: string]: any }
  ): TypeScriptRenderer {
    return new AJSTSDeclarationsRenderer(
      this,
      renderContext,
      {
        nicePropertyNames: true,
        runtimeTypecheck: true,
        justTypes: false,
        declareUnions: true,
        acronymStyle: AcronymStyleOptions.Pascal
      },
      {
        client: this.client
      }
    )
  }