Glue: Toolchain for generating OpenAPI specs (and a lot more codegen targets) #5389
Closed
guywaldman
started this conversation in
Tooling
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I'm building Glue, a small open-source IDL/toolchain for defining models and interfaces once, then generating OpenAPI, Protobuf, JSON Schema, TypeScript, Python, Rust, and Go.
It has a CLI for generating code from a
.gluefile and a VS Code extension (with an LSP).I am also prioritizing sane defaults and minimalism - Glue specs should be as non-verbose as possible.
You can play around with it on the website: https://www.gluelang.dev/
It has interactive Glue transpilation using the codegen module compiled into WASM.
I don't like to self-promote, but I feel that working with Glue specs has a lot of value for myself personally, and would love to get some feedback from folks!
I’m looking for feedback from people maintaining schema-first / contract-first API workflows:
Repo: https://github.com/guywaldman/glue
Docs/playground: https://gluelang.dev
Note: I want to stress that the angle is not to “replace OpenAPI”, but rather using OpenAPI as one output target when you want a smaller source-of-truth format upstream, especially one you want to reuse with other targets.
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions