Hi,
does anyone know if there is a crystal codegen that makes a class from a swagger api definition?
I couldn’t find anything, but maybe someone started something thats in an unfinished state?
Hi,
does anyone know if there is a crystal codegen that makes a class from a swagger api definition?
I couldn’t find anything, but maybe someone started something thats in an unfinished state?
IIRC, Swagger == OpenAPI, right? If so, then yes. 
Thanks!
Apparently swagger API was renamed to Open API in 2015 ![]()
I’d rather phrase it like this: The API description and the graphical presentation tool was separated. The latter is still called Swagger while the description language has become OpenAPI.
For anyone landing here from a search: yes, OpenAPI Generator has a crystal client generator — and it just got a big idiomatic overhaul in PR #24070 (in review for 7.24.0): per-instance namespaced clients, typed Response(T), and a bunch of real-world oneOf/anyOf/allOf fixes. A real-world example of its output is qdrant-api.cr.