Compare
Baklava vs Itdoc
Itdoc creates API docs from NodeJS test code, similar concept but for a different language stack.
Side by side
- What it is
- Baklava:Baklava generates API documentation directly from your routing tests, ensuring docs stay in sync with code.
- Itdoc:Generate API docs from test code in NodeJS
- Best for
- Baklava:Test-driven API documentation
- Itdoc:NodeJS test-driven docs
- Who it’s for
- Baklava:Scala backend developers using Pekko HTTP or http4s.
- Itdoc:—
- Pricing
- Baklava:Open source
- Itdoc:Free
- Open source
- Baklava:Yes, 11 GitHub stars
- Itdoc:—
- Works with
- Baklava:Pekko HTTP, http4s, ScalaTest, Specs2, MUnit, Scala 2.13
- Itdoc:—
- DevHunt upvotes
- Baklava:3
- Itdoc:0
- Launched on DevHunt
- Baklava:Sep 2026
- Itdoc:Jan 2026
Baklava features
- Docs from tests. Capture paths, methods, params, security and responses from your test suite to auto-generate docs.
- Multiple output formats. Export OpenAPI 3.0, SwaggerUI, HTML, TypeScript contracts (ts-rest, Zod), Postman, sttp and more.
- Zero-config integration. Add a dependency and Baklava discovers the format automatically, no separate spec files needed.
- Works with popular Scala stacks. Supports Pekko HTTP, http4s, ScalaTest, Specs2 and MUnit on Scala 2.13 or 3.
- SBT plugin. Run `sbt test` and documentation is generated in `target/baklava/`.
- Open source license. Released under Apache 2.0, free to use and modify.
Based on each tool's website and DevHunt data. Details may change; check the official sites.

