OpenAPI Codegen with Refine (REST API Provider)
Hey,
I have a solid REST API which has an OpenAPI specification. I was wondering if that could be used to autogenerate an entire NextJS admin panel with Refine. I think that could greatly accelerate progress for many devs and teams.
Here's my Issue on GitHub with more details: https://github.com/refinedev/refine/issues/5623
GitHub
[FEAT] Codegen with OpenAPI · Issue #5623 · refinedev/refine
Is your feature request related to a problem? Please describe. Given an OpenAPI spec, we should be able to codegen pages. We can later tune them for our own efficiency, but at the bare minimum it s...
7 Replies
Hi @Saad Bazaz. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not mention anything about OpenAPI Codegen with Refine. However, Refine does provide a lot of out-of-the-box functionality for rapid development and it can be integrated into any REST or GraphQL backend service. It also supports server-side rendering (SSR) with Next.js.
For more specific information about OpenAPI Codegen with Refine, I would recommend checking out the Refine documentation (https://refine.dev/docs/) or reaching out to the Refine community directly.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@749363442401411102> kapa.ai is still learning and improving, please let us know how it did by reacting below
frail-apricot•7mo ago
Why isn't this still a feature? This seems very important.
equal-aqua•7mo ago
@Saad Bazaz Thanks for the idea, we will look what we can do
frail-apricot•7mo ago
Awesome, @Alican Erdurmaz ! Do let me know if I can be of any assistance
---
After going deeper into Refine, I like the Inferencer feature and it seems similar to what I'm talking about.
If we provide a link to an openapi.json or openapi.yml file, we should be able to hack around with the Inferencer to create a codegen for OpenAPI
equal-aqua•7mo ago
we are open the any contributors 🙌
old-apricot•6mo ago
I'm looking for something similar but found this issue to be closed without implementing. What is the current recommended (least effort) approach if I have an OpenAPI compliant Web API?