Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

Commit 6c5ddf4

Browse files
authored
Update README.md with --add-s3-wrapper flag
1 parent ea6c615 commit 6c5ddf4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,18 @@ aws-appsync-codegen introspect-schema schema.graphql --output schema.json
4242

4343
The purpose of this command is to generate types for query and mutation operations made against the schema (it will not generate types for the schema itself).
4444

45+
#### Swift
46+
4547
This tool will generate Swift code by default from a set of query definitions in `.graphql` files:
4648

4749
```sh
4850
aws-appsync-codegen generate **/*.graphql --schema schema.json --output API.swift
4951
```
5052

53+
The `--add-s3-wrapper` option can be specified to add in S3 wrapper code to the generated source.
54+
55+
#### TypeScript, Flow, or Scala
56+
5157
You can also generate type annotations for TypeScript, Flow, or Scala using the `--target` option:
5258

5359
```sh

0 commit comments

Comments
 (0)