This docs site is built with Docusaurus and docusaurus-plugin-openapi-docs.
npm installnpm startnpm run buildThe "Try it out / Send API Request" panel in API Reference uses the OpenAPI servers URL.
static/openapi.json- top-level:
servers - operation-level:
paths.*.*.servers
- top-level:
Use a base URL without a trailing slash to avoid // in rendered endpoint URLs.
Examples:
- Local:
http://localhost:9100 - Production:
https://nasiko.dev
Regenerate API docs and rebuild:
npx docusaurus clean-api-docs all
npx docusaurus gen-api-docs all
npm run buildIf you're running the dev server, restart it after regenerating:
npm startIf the browser still shows stale API URLs, hard refresh (Cmd+Shift+R / Ctrl+Shift+R).