This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Generating test data for 'real-world' APIs. #791
Unanswered
kalexmills
asked this question in
Show and tell
Replies: 2 comments
-
Looks pretty neat to me!: Good point, I'll look at the PR. :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
This discussion has been migrated to cue-lang/cue#791. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As part of taking Cue out for a spin, I implemented a (very) simple script to generate validated test data. I'm having to integrate with the Adyen webhooks API at work and creating and signing their Mock data is (slightly) non-trivial. I was glad to see Cue can handle it. Curious if there are better ways to do this.
It also serves as a test for the crypto/hmac package. ;)
Output (matches the example provided in the Adyen docs.)
Beta Was this translation helpful? Give feedback.
All reactions