graphql2sadl

command module
v0.0.0-...-d147024 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

graphql2sadl

A simple tool to convert GraphQL logical data models to SADL.

Usage

Assuming you have Go installed on your machine:

$ go get github.com/boynton/graphql2sadl
$ graphql2sadl yourfile.graphql

This outputs the SADL types represented by the graphql source, in SADL source form. To output the SADL JSON representation:

$ graphql2sadl -j yourfile.graphql

To output OpenAPI Spec v3 (OAS3):

$ graphql2sadl -oas yourfile.graphql

Note: this tool is incomplete, more of a demo than anything.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL