Generate static Javascript client from Swagger for use in React Native : <p>I'm building a React Native app that will consume an API with Swagger 2.0 definition. I went to Swagger's repo at <a href="https://github.com/swagger-api/swagger-codegen#where-is-javascript" rel="noreferrer">https://github.com/swagger-api/swagger-codegen#where-is-javascript</a> and it points to their Javascript generator at <a href="https://github.com/swagger-api/swagger-js" rel="noreferrer">https://github.com/swagger-api/swagger-js</a>.</p>

<p>The problem is that the generator is dynamic, and since I'll be embedding the client in a mobile app, dynamic generator is not an option. They also say that there's a third party project available at <a href="https://github.com/wcandillon/swagger-js-codegen" rel="noreferrer">https://github.com/wcandillon/swagger-js-codegen</a>, which says that the project is no longer maintained and points back to <a href="https://github.com/swagger-api/swagger-codegen" rel="noreferrer">https://github.com/swagger-api/swagger-codegen</a>. (while that 3rd party generator works, I don't want to use a deprecated tool that might break any time since I'll be updating the API client when new endpoints arrive. And that tool also doesn't generate really good code anyway as it says in its own repo.)</p>

<p>At this point I'm stuck. What is the supported way of generating a static Javascript client from Swagger definition for use in React Native?</p>
