Skip to content

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

License

Notifications You must be signed in to change notification settings

TheAPIguys/schemToTypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SchemToTypes

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 version to the usage of the tool alt text

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages