Skip to content

Instantly share code, notes, and snippets.

View sohaibtariq's full-sized avatar

Sohaib sohaibtariq

View GitHub Profile
function waitForElm(selector) {
return new Promise(resolve => {
if (document.querySelector(selector)) {
return resolve(document.querySelector(selector));
const observer = new MutationObserver(mutations => {
if (document.querySelector(selector)) {
sohaibtariq /
Created August 19, 2022 10:22
How to Automate SDK and Documentation Generation for Your REST APIs

How to Automate SDK and Documentation Generation for Your REST APIs

Developers and architects devote a significant amount of time to automate an application's lifecycle. They may use pipelines and workflows to build and test application code automatically, and in some cases the application code may be deployed directly into production.

However, once the dust has settled on the software lifecycle, someone must write the documentation and update the SDKs/libraries. These are frequently regarded as janitorial duties in software development, assigned to a junior developer or intern. Or even worse, a senior employee must dedicate valuable time to write a code sample for a documentation wiki.

This manual and mundane task can actually be fully automated by integrating documentation and SDK generation directly into existing CI/CD pipelines.

APIMatic is a developer experience platform that focuses on automating the API Consumption phase of your API lifecycle. The on-premises code generation solution can be direc