🔧 Make your Swagger config files dynamic using Node.js

Опубликовано: 15 Июнь 2018
на канале: Adrian Oprea
3,855
14

If you work with Swagger definition files and love code generation just as much as I do, you probably feel the frustration of not being able to use environment variables in those config files. This leads to having to maintain multiple config files, one for each environment, when the only differences are related to service hostnames, most of the times.

If you're a fan of text, and would like to read an article rather than watch a video, here's a link to the related article: https://oprea.rocks/blog/use-env-vars...

We're basically doing a code review of the script, going through the libraries I used to build it and why I chose to do so.

Subscribe to the channel to be among the first people to know when new videos are published.
You can also visit my website — https://oprea.rocks — to read about solutions to real-life, software development problems.

Adrian.

#nodejs #swagger #api #rest #microservices #oprearocks


Смотрите видео 🔧 Make your Swagger config files dynamic using Node.js онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Adrian Oprea 15 Июнь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,85 раз и оно понравилось 1 людям.