Skip to content
TheAPIguys edited this page May 12, 2024 · 1 revision

Welcome to the schemToTypes wiki!

image

image

SchemToTypes is a command-line interface (CLI) tool that converts API JSON/YAML schema into types for Go or TypeScript.

Features

  • Convert API JSON/YAML schema into Go types
  • Convert API JSON/YAML schema into TypeScript types

Installation

To install schemToTypes cli if you have golang in your system you can run the following command:

go install https://github.com/TheAPIguys/schemToTypes

Usage

schemToTypes go -f schema.json -n myTypes 
schemToTypes ts -f schema.json -n myTypes 
schemToTypes help
schemToTypes 

alone command is a guided to the usage of the tool

Clone this wiki locally