kirakos6970
12/04/2025, 11:31 AMbaml_elixir, that's why I am considering OpenAPI option. So my first questions is, is it possible to do the OpenAPI spec generation from BAML and then Elixir code generation from OpenAPI as a separate step (compile/build time) from the Rest API serving? In other words, I want to generate the Elixir modules from BAML during build time, and then only serve the Rest API in the runtime.greg (BAML)
12/04/2025, 6:35 PMgreg (BAML)
12/04/2025, 6:36 PMbaml-init, if you use the openapi generator, this is an field you can use that will re-run an arbitrary command every time any .baml file updates. It's common to use this field to drive the openapi-cli. That way you get new elixer client code every time you change your .baml files.kirakos6970
12/05/2025, 1:28 AMbaml-cli, which has exactly what I need, separate commands for generate and serve.kirakos6970
12/05/2025, 1:30 AM/stream routes, but those are not being generated in the OpenAPI spec, or am I missing something?greg (BAML)
12/05/2025, 7:09 AMemil
01/08/2026, 6:28 PMgreg (BAML)
01/09/2026, 8:09 PM