aws-amplify / amplify-codegen

Amplify Codegen is a JavaScript toolkit library for frontend and mobile developers building Amplify applications.
Apache License 2.0
58 stars 59 forks source link

[Feature Request] Amplify codegen - auto create sample input / inputs details #369

Open zachjonesnoel opened 2 years ago

zachjonesnoel commented 2 years ago

Before opening, please confirm:

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

v16.13.0

Amplify CLI Version

2.27.1

What operating system are you using?

Windows

Amplify Codegen Command

codegen

Describe the bug

Similar to how amplify codegen creates the respective classes with query / mutation / subscriptions, can there be a documentation or sample inputs created with all the queries and minimal inputs i.e. only mandatory inputs so that the front-end dev or user would have a sample which they can check with? This helps in maintaining documentation / sample inputs for the AppSync APIs.

Expected behavior

This is a new feature request.

Reproduction steps

This is a new feature request.

GraphQL schema(s)

```graphql # Put schemas below this line ```

Log output

``` # Put your logs below this line ```

Additional information

No response

yeung-wah commented 2 years ago

Thank you for the time and requesting this feature, will work with the team, and put it in our backlog.