Replies: 5 comments 4 replies
-
Yes it is! I currently do this with fuego using: https://github.com/oapi-codegen/oapi-codegen to generate a client sdk in one of my projects. You can look into: https://github.com/danielgtaylor/openapi-cli-generator for generating a cli that is in go. I'm sure there are others that exist. Could be something here too: https://openapi.tools/#sdk. I think generating code from fuego could be out of scope. Let me know if this helps. |
Beta Was this translation helpful? Give feedback.
-
If you want to generate JS client from OpenAPI, you can also use Orval. I've used and contributed to Orval, and I can tell it's a very useful software! |
Beta Was this translation helpful? Give feedback.
-
thanks @EwenQuim for letting me know. I have been knee deep in other code and have not had a chance to setup to test all the Outputs yet. If anyone else setups a Makefile to run all this please shout. |
Beta Was this translation helpful? Give feedback.
-
Thanks @dylanhitt for an asking am really liking fuego. It’s hot :) I need to gen js, go, .net, python client code . still a bit list as to the best way to do all these languages. |
Beta Was this translation helpful? Give feedback.
-
Also this is a pretty list of associated tooling https://www.reddit.com/r/golang/comments/1avsog1/go_openapi_codegen/ |
Beta Was this translation helpful? Give feedback.
-
The current code gen is not making a CLI, but I figured its worth raising this.
I imagine that its possible ?
Beta Was this translation helpful? Give feedback.
All reactions