-
Notifications
You must be signed in to change notification settings - Fork 38
/
index.html
43 lines (43 loc) · 1.44 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>JSON -> GraphQL schema generator</title>
<meta name="twitter:card" value="JSON -> GraphQL schema generator" />
<meta
name="Description"
content="Takes some JSON, makes an awesome GraphQL Schema."
/>
<meta property="og:title" content="JSON -> GraphQL schema generator" />
<meta property="og:type" content="article" />
<meta
property="og:url"
content="https://github.com/walmartlabs/json-to-simple-graphql-schema"
/>
<meta
property="og:description"
content="Takes some JSON, makes an awesome GraphQL Schema."
/>
</head>
<body>
<div class="row">
<div class="column">
<p>Paste and edit JSON text</p>
<textarea id="json">
{"id":"some-id-0","name":"A fun object","color":{"id":"color-id-1","name":"Test color"},"subType":{"id":"some-id-1","name":"A fun sub-type","color":{"id":"color-id-1","name":"Test color","hex":"#ff0000"}}}</textarea
>
</div>
<div class="column">
<p>Generated GraphQL Schema</p>
<textarea id="graphql" disabled></textarea>
</div>
</div>
<div class="powered-by">
Powered by:
<a href="https://github.com/walmartlabs/json-to-simple-graphql-schema"
>@walmartlabs/json-to-simple-graphql-schema</a
>
</div>
</body>
</html>