general pass of README cleanup

This commit is contained in:
Ben Kraft
2021-04-02 17:01:49 -07:00
parent 0432f3f434
commit 21954ac62d
3 changed files with 28051 additions and 9970 deletions
+2 -10
View File
@@ -20,14 +20,6 @@ It's already checked in to github, but to generate `generated.go`:
go generate ./...
```
## Generating the schema files
## Generating the schema file
These are also checked in, but to update them:
```sh
npm install -g graphql-introspection-json-to-sdl
curl -H "Authorization: bearer <your token>" https://api.github.com/graphql >example/schema.json
graphql-introspection-json-to-sdl example/schema.json >example/schema.graphql
```
TODO: something better
The schema file is also checked in, but to update it, download from the [GitHub API documentation](https://docs.github.com/en/graphql/overview/public-schema).
+28024 -9946
View File
File diff suppressed because it is too large Load Diff