RedditPP Mascot

RedditPP

r/webdev • … • u/Pstrnil

I need to generate a NodeJS client based on OpenAPI spec. Any suggestions?

From the research I did it seems like this is the wild west in the JS ecosystem.

There are some code generation tools around but most seem to be outdated or have problems. Some generate actual code files while some others generate the client at runtime.

I couldn't find a clear winner or a modern project that many people seem to consider the right way to go so I just want to know from other people experiences, what do you use? Is there a package you can recommend?

Any tips are welcome as this is the first time I have to work on something like this, thanks.

— 0