🔧 Make your Swagger configuration files dynamic using Node.js
I got the idea for this article after solving this problem for the team I was working with, for a client. So, what’s the problem? After wrapping up work on a Swagger configuration file, and successfully generating a client JavaScript library to consume the API, we ended up with the following problem: how do we make sure that we’re able to generate the client library and use the proper environment URL, so that we don’t end up calling UAT endpoints from production, or the other way around.
Read more →