Fork me on GitHub
#clojure-spec
<
2022-05-08
>
Benjamin17:05:53

https://developers.google.com/discovery/v1/reference/apis wouldn't it be cool to generate spec from this?

1
kenny17:05:05

You definitely could. Cognitect’s aws-api does just that from the AWS api structured docs (smithy files). I'm not aware of anyone doing it for GCP but no reason you couldn't. Since the AWS api -> spec part of aws-api isn't open source and I needed part of that code, I wrote a version available here https://github.com/kennyjwilli/smithy-spec. Could be a starting point for GCP.

1
Benjamin17:05:35

I'll think about it

1
pithyless10:05:40

@U02CV2P4J6S I remember seeming something like this on Slack - perhaps it was this? https://github.com/ComputeSoftware/gcp-api

pithyless10:05:45

Oh, I just realized this is by @U083D6HK9 facepalm

😁 1
pithyless10:05:34

<meme of Homer Simpson slowly backing away>