To use this with any API, just clone the Gist and run the following:
NGINX_API_URL=https://api.example.com API_PATH=/v0/openAPI docker-compose up
Finally browse to : http://docs.localhost:16640.
// Programme qui compte jusque l'infini | |
// Par Thomas et Nicolas Froidure Stiernon | |
const depart = Date.now(); | |
let compteur = 0; | |
while(true) { | |
if(Math.floor(Math.log10(compteur + 1)) > Math.floor(Math.log10(compteur))) { | |
console.log(compteur + 1, Math.round((Date.now() - depart) / 60000)); | |
} |
To use this with any API, just clone the Gist and run the following:
NGINX_API_URL=https://api.example.com API_PATH=/v0/openAPI docker-compose up
Finally browse to : http://docs.localhost:16640.