clojure-spec

Benjamin 2022-05-08T17:39:53.071449Z

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

➕ 1
pithyless 2022-05-16T10:11:40.847879Z

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

pithyless 2022-05-16T10:12:45.794289Z

Oh, I just realized this is by @kenny facepalm

😁 1
pithyless 2022-05-16T10:14:34.931169Z

<meme of Homer Simpson slowly backing away>

kenny 2022-05-08T17:55:05.490359Z

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
Benjamin 2022-05-08T17:56:35.374399Z

I'll think about it

🤘🏻 1