[Community Plugin] vite-plugin-open-api-server — OpenAPI Mock Server with Vue DevTools Integration #1040
miguelramos
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! 👋
I'd like to share a plugin I've built that integrates with Vue DevTools: vite-plugin-open-api-server.
What it does
It's a Vite plugin that spins up a local mock API server directly from OpenAPI 2.0/3.x specs, so frontend developers can work independently of backend services. It uses Hono under the hood for a lightweight, fast HTTP server and generates realistic responses via Faker.js.
Core features:
Vue DevTools Integration
The plugin registers a custom tab in Vue DevTools (via
@vue/devtools-api, v7-compatible) with a full SPA that includes four views:This gives developers full visibility into the mock layer without leaving the DevTools workflow.
Quick example
Links
Monorepo packages
@websublime/vite-plugin-open-api-core@websublime/vite-plugin-open-api-devtools@websublime/vite-plugin-open-api-serverI'd love to hear your thoughts, and if the team finds it useful, it would be great to see it listed in the DevTools ecosystem or documentation as a community plugin example.
Thanks for the amazing work on Vue DevTools!
Beta Was this translation helpful? Give feedback.
All reactions