Skip to content

A CLI tool for generating SDK clients from swagger and graphql schema files.

License

Notifications You must be signed in to change notification settings

wisdommatt/sdkgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sdkgen

A CLI tool for generating SDK clients for Rest & Graphql APIs using swagger and graphql schema files.

Installation

go install github.com/wisdommatt/sdkgen

Usage

To generate SDK client from GraphQl schema file:

sdkgen graphql --schema sample.graphql --output pkg/sample

--schema and --output parameters are required.

To generate SDK client from OpenAPI | Swagger schema file:

sdkgen openapi --schema sample-api.json --output pkg/sample

You can generate the client from a json or yaml schema file, --schemaand--output parameters are required.

Documentation

https://pkg.go.dev/github.com/wisdommatt/sdkgen

About

A CLI tool for generating SDK clients from swagger and graphql schema files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages