DEV Community

John Carter
John Carter

Posted on

Getting started with API documentation tools in modern development workflows

Hi everyone ๐Ÿ‘‹

Iโ€™m currently exploring different tools and approaches for API documentation and testing, especially in modern development workflows involving microservices and external integrations.

As a beginner/intermediate developer, Iโ€™ve noticed that API documentation is often:

outdated quickly
disconnected from actual testing
hard to maintain across teams

So Iโ€™ve been trying to understand what real-world teams use to solve this problem.

Some common approaches Iโ€™ve seen so far:

OpenAPI / Swagger-based documentation
Separate tools for testing and documentation
Integrated platforms that try to combine both workflows

One tool I came across during my research is Apidog, which combines API design, testing, and documentation in a single workflow. It looks interesting for keeping everything in sync, especially for small teams.

Iโ€™m still learning though, so Iโ€™d love to hear from more experienced developers:

๐Ÿ‘‰ What do you use for API documentation in your projects?
๐Ÿ‘‰ How do you make sure your docs stay updated as your API evolves?
๐Ÿ‘‰ Any tools or workflows you would recommend for someone starting out?

Thanks in advance for sharing your experience

Top comments (3)

Collapse
 
luc_36689a31b94d68d29f9e9 profile image
luc

Good starting point. In practice, most teams reduce drift by making the spec the source of truth and automating docs + tests in CI. Tools like Apidog are often used to keep design, testing, and documentation tightly in sync.

Collapse
 
john_carter_6172e5e1ecd9d profile image
John Carter

Exactly spec-first and CI automation is what keeps things from drifting

Collapse
 
feum_komhervesteve_aa13 profile image
Herve

Some teams solve it by using tools like Apidog to keep API design, testing, and documentation in sync in one workflow.