public class SchemaPrinter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaPrinter.Options
Options to use when printing a schema
|
| Constructor and Description |
|---|
SchemaPrinter() |
SchemaPrinter(SchemaPrinter.Options options) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
print(GraphQLSchema schema)
This can print an in memory GraphQL schema back to a logical schema definition
|
java.lang.String |
print(GraphQLType type) |
public SchemaPrinter()
public SchemaPrinter(SchemaPrinter.Options options)
public java.lang.String print(GraphQLSchema schema)
schema - the schema in playpublic java.lang.String print(GraphQLType type)