Stoplight Prism Stalls for 30 Minutes on Stripe's 6MB OpenAPI Spec
Stoplight Prism, a widely used OpenAPI mock server, failed to start after 30 minutes when given Stripe's 6MB OpenAPI specification file, outputting only a single loading line with no further progress. The issue stems from Prism's approach of fully resolving all references at startup — Stripe's document alone contains 1,286 component schemas with cross-references. On smaller specs like Twilio Verify (173KB), Prism performed adequately, starting in around 500ms and consuming roughly 200MB of memory. Additional limitations noted include the inability to serve multiple OpenAPI documents from a single instance and a dependency footprint of 210 npm packages totalling 68MB. The author, who works on a competing tool called Mockzilla, reports that their mock server opened a port on the same Stripe spec without issue.
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