Mockoon's reimport feature leaves 559 Stripe API routes outdated after spec update
When Stripe released its 'basil' API version in March 2025, developers using Mockoon to mock Stripe's API found that reimporting the updated OpenAPI spec does not replace or update existing routes — it only adds new ones. This left 559 routes tied to the old API, meaning fields moved or removed in basil, such as current_period_start and current_period_end, continued returning stale data instead of reflecting the new spec. Additionally, Mockoon's static mock responses leave over 223,000 fields empty across the full Stripe spec, causing test flows to break when critical values like customer ID return blank. Developers must manually delete and re-add changed routes, risking loss of any custom edits made to those routes. The article contrasts this behavior with spec-driven mock servers that re-read the OpenAPI spec on every start, which automatically reflect the latest API changes without manual intervention.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in