Generating test data for 'real-world' APIs. #791
cueckoo
started this conversation in
Show and tell
Replies: 1 comment
-
Original reply by @mpvl in cuelang/cue#791 (comment) Looks pretty neat to me!: Good point, I'll look at the PR. :) |
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
-
Originally opened by @kalexmills in cuelang/cue#791
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