aws 2022-09-05

I'm looking at the https://github.com/cognitect-labs/aws-api/ on github and I can't find the bits responsible for parsing https://github.com/aws/aws-sdk-js and processing it into specs definitions. Is it part of https://github.com/cognitect-labs/aws-api/ or is it somewhere else?

If you're just interested in generating Clojure Specs from the AWS smithy files, this might be of interest to you https://github.com/kennyjwilli/smithy-spec

👍 1
Alex Miller (Clojure team) 2022-09-05T23:56:14.342759Z

The generator is not open source

I was looking for inspiration and examples how to build this type of library. I thought about making something similar for terraform providers. It is possible to https://www.terraform.io/cli/commands/providers/schema for a provider to json, so it looked like a very similar use case. For every terraform provider out there, we could have a spec definitions auto-generated from these jsons. Just an idea.

@grzegorz.rynkowski you could also have a look at a lib I made on similar ideas: https://github.com/lispyclouds/contajners Specially this part: https://github.com/lispyclouds/contajners/tree/main/fetch_api

👍 1