frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: VolcAPI run your OpenAPI spec as a test suite from the terminal

1•aliamer99•1h ago
I got tired of maintaining two files that describe the same thing: an OpenAPI spec for documentation and a Postman collection for testing. They always drift. Someone updates the spec, forgets the collection. A new engineer joins and runs outdated tests against an endpoint that was changed two months ago.

VolcAPI lets you define test scenarios directly inside your OpenAPI spec using a custom extension (v-functional-test), then run them from the CLI. Single source of truth.

It's a Go binary no runtime, no node_modules. The goal is for it to drop into GitHub Actions with zero friction once JUnit XML output lands (in progress).

Repo: https://github.com/aliamerj/volcapi

This is early alpha. GET/POST/PUT/DELETE work, response validation works, environment configs work. CI output formats are the next thing I'm building.

Honest question for the HN crowd: is the "spec as test suite" concept something you'd actually use, or do you prefer keeping tests separate from the spec? I've gone back and forth on this and would genuinely like to hear from people who've felt this pain.

Comments

mrkeen•1h ago
I just put the API at the centre, everything else hangs off it:

* The server implementation is type-checked against the API

* The OpenAPI spec is generated from the API.

* The client is generated/checked against the API

Any test-suite that operates using the client or server will then by definition be up-to-date with everything else.

Oil Depletion Allowance

https://en.wikipedia.org/wiki/Oil_depletion_allowance
1•thelastgallon•2m ago•0 comments

Decode Your Life Path and Love Line Instantly

https://destinymatrics.com/
1•hmazapthan•4m ago•0 comments

Snakes and Ladders

https://entropicthoughts.com/snakes-and-ladders
1•kqr•4m ago•0 comments

AI Is Finding More Bugs Than Open-Source Teams Can Fight Off

https://www.bloomberg.com/news/articles/2026-04-17/anthropic-s-mythos-adds-strain-on-cybersecurit...
1•helsinkiandrew•10m ago•2 comments

5x faster prime generation than OpenSSL via Riemann zeta zeros (SpectralPrimes)

https://github.com/model-vpr/ultrafast-spectral-primes
1•vpr-research•11m ago•0 comments

Launchstack – Open-source knowledge layer that index your docs for Claude MCP

https://github.com/Deodat-Lawson/LaunchStack
1•DaggersDreaming•13m ago•0 comments

The quiet disappearance of the free-range childhood

https://bigthink.com/mind-behavior/the-quiet-disappearance-of-the-free-range-childhood/
4•sylvainkalache•17m ago•0 comments

State of Kdenlive

https://kdenlive.org/news/2026/state-2026/
2•f_r_d•18m ago•0 comments

Practical Antiforgery in Software Design

https://hudlow.org/2026/practical-antiforgery
2•fanf2•19m ago•0 comments

Floating Point Fun on Cortex-M Processors

https://danielmangum.com/posts/floating-point-cortex-m/
2•hasheddan•19m ago•0 comments

Bacterial enzyme-responsive hydrogels deliver antibiotics to infected wounds

https://www.science.org/doi/10.1126/sciadv.adz0786
2•PaulHoule•20m ago•0 comments

Poor Planning and Lax Oversight Wastes Millions

https://www.mass.gov/doc/the-steamship-authoritys-website-development-project/download
2•jonl521•20m ago•0 comments

Tell HN: GitHub Apps – Private key is not private

https://github.com/login
1•time4tea•21m ago•1 comments

A Consigliere on Every Desk and in Every Home

https://www.wysr.xyz/p/a-consigliere-on-every-desk-and-in
1•martialg•21m ago•0 comments

A 1151-Year Quasi-Commensurability Among All Planets Except Uranus

https://arxiv.org/abs/2604.03049
1•zenutrio•24m ago•0 comments

Mac-control-MCP – 63-tool native Swift MCP server for macOS

https://github.com/AdelElo13/mac-control-mcp
1•adelelo13•25m ago•0 comments

The Download: cyberscammers' banking bypasses, and carbon removal troubles

https://www.technologyreview.com/2026/04/16/1136034/the-download-cyberscammers-banking-bypasses-m...
2•joozio•26m ago•0 comments

Show HN: Ricci Flow – AI Web Scraper

https://chromewebstore.google.com/detail/ricci-flow-–-ai-web-scrap/ngeodkdeahmlnceiomeeidoidhni...
2•qwikhost•26m ago•0 comments

Who Uses AI Agents (and Who Just Runs the Demo)

https://www.bhusalmanish.com.np/blog/posts/who-actually-uses-ai-agents.html
2•okchildhood•26m ago•0 comments

Escaped wolf returned to zoo after nine-day search

https://www.cnn.com/2026/04/17/asia/south-koreans-escaped-wolf-intl-scli
1•Bender•27m ago•0 comments

Show HN: TweakIdea – 14-dimension startup idea evaluation in Claude Code

https://github.com/eph5xx/tweakidea
1•ephx•32m ago•0 comments

Tomb Raider Studio Faces Fourth Round of Layoffs in Just 12 Months

https://kotaku.com/tomb-raider-remake-crystal-dynamics-layoffs-2000680096
2•PaulHoule•34m ago•0 comments

Atlassian's new data collection policy protects rich customers, AI eats the rest

https://www.theregister.com/2026/04/18/atlassians_new_data_collection_policy/
2•Bender•35m ago•0 comments

Venice AI – private and unbiased AI

https://venice.ai/
1•t0bia_s•35m ago•0 comments

Convolutional neural networks in APL (2019)

https://dl.acm.org/doi/10.1145/3315454.3329960
1•tosh•40m ago•0 comments

Type-level invariants in the Spectre Programming Language

https://spectre-docs.pages.dev/type-system-expanded#type-level-invariants
1•death_eternal•40m ago•0 comments

KV the Apostate

https://queue.acm.org/detail.cfm?id=3806209
1•jruohonen•40m ago•0 comments

A new study found that AI has a higher impact in the home than in the office

https://www.computerworld.com/article/4159817/ai-is-finally-delivering-productivity-for-remote-em...
1•mikelgan•42m ago•2 comments

Productivity gains with an AI-based IDE at Google

https://arxiv.org/abs/2601.19964
1•azhenley•42m ago•0 comments

Show HN: Link Shortener – Itlinks.me

https://itlinks.me
2•IgorStojanov•50m ago•0 comments