PhoenixSpec.TypeScript (PhoenixSpec v0.1.1)

View Source

Generates TypeScript type definitions from extracted view and schema information.

Produces .d.ts files with interfaces matching the OpenAPI schemas.

Summary

Functions

Generates TypeScript type definitions from the given options.

Functions

generate(opts \\ [])

@spec generate(keyword()) :: String.t()

Generates TypeScript type definitions from the given options.

Same options as PhoenixSpec.OpenAPI.generate/1.