clojure-spec 2022-05-08

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

➕ 1

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

Oh, I just realized this is by @kenny facepalm

😁 1

<meme of Homer Simpson slowly backing away>

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

I'll think about it

🤘🏻 1