![]() ![]() Below is a basic example but Templating expressions and functions are obviously supported: You’ll define examples using simple JSON for request body and for response body as well. # microcksId: Movie Graph API : 1.0 schema because the url at the upper request level but this one must have the value. You can see below the definition using Schema IDL below found in film-1.0.graphql file: This is a fairly basic GraphQL API that is inspired by the famous Filmsamples you find on. Let’s dive in details of our sample Movie Graph API. We recommend having a look at our sample GraphQL API for the Movie Graph API as well as the companion Postman collection to fully understand and see those conventions in action. Microcks will later apply field selection as required in GraphQL. Your Postman collection will then simply hold examples defined in JSON, defining the value for all different fields of a response.Your Postman collection will need to organize examples into requests having the same name and url as the GraphQL queries or mutations,. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |