PlanMyPC API

Interactive reference generated from the route handlers.

This page reads the committed OpenAPI spec at /openapi.json and exposes it through Swagger UI at /api/docs.

Open raw specGenerated via npm run docs:openapi

Generated Spec

The OpenAPI document is generated from the Next.js route handlers and written to public/openapi.json.

View raw JSON

Source of Truth

Route methods, path params, query params, auth hints, and response branches are inferred from src/app/api/**/route.ts.

Browse operations

Regeneration

Run npm run docs:openapi after changing route handlers if you need a fresh spec without a full app build.

Keep docs in sync
Loading API reference...