| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-10-02 | 2.2 kB | |
| v10.1.0 source code.tar.gz | 2026-10-02 | 22.2 MB | |
| v10.1.0 source code.zip | 2026-10-02 | 22.9 MB | |
| Totals: 3 Items | 45.1 MB | 2 | |
New Features
- In-Browser Mock Server: Added zero-dependency, in-browser OpenAPI mock server enabled via
mock-server="true"— prototype frontends before backend APIs are ready without Prism, Docker, or external proxies. - Host Application Interception: Transparently intercepts both RapiDoc's internal "TRY" console and any in-page
fetch()orXMLHttpRequestcalls made by host frontend apps (React, Vue, Vite, etc.) with zero CORS issues. - Multi-Status Code Simulation: Added
mock-server-status-codeandmock-server-status-strategywithfirst,cycle(round-robin per endpoint for testing retry/backoff logic), andrandom(chaos engineering). - Simulated Network Latency: Added
mock-server-delayto simulate artificial network delays in milliseconds for testing loading spinners, skeleton states, and optimistic UI transitions. - DevTools Intercept Logging: Added
mock-server-logto output matched endpoints, synthetic status codes, and latency timing to the browser console. - Visual Mock Indicator: Added a prominent emerald
MOCK ACTIVEbadge in the API Server selector bar when mocking is active.
Bug Fixes & Schema Improvements
- Fixed
generateExamplebug where a singularexamplewas shadowed whenexampleswas passed as an empty object. - Fixed handling of falsy schema values (
0,false,"") in example generation. - Prevented combinatorial explosion in
mergePropertyExamplesby capping combinations at 10 to avoid performance freezes on deeply nested schemas. - Strictly omitted
writeOnlyfields from mock response payloads (preventing passwords and secrets from leaking into responses). - Improved MIME type formatting with native support for YAML content types and cleaner XML indentation.
Other Chores & Documentation
- Added new interactive Mock Server Showcase page (
/mock-server) with an in-pagefetch()testing console. - Added comprehensive Starlight documentation guide under Advanced Guides → In-Browser Mock Server.
- Updated API reference table with all new mock server attributes.
- Added native Node.js unit test suite (
npm run test:unit) covering schema example generation, edge cases, and interception.