Official developer documentation for OnceHub APIs and integrations.
Visit the documentation at: developers.oncehub.com
This site is built using Docusaurus and Scalar for API reference documentation.
npm install
npm run devThe dev script runs:
- Docusaurus development server with hot reload
- OpenAPI build watcher for specification changes
Note: Docusaurus content changes are hot-reloaded automatically. OpenAPI specification changes require a manual browser reload.
Important: When modifying the OpenAPI specification files in /openapi, the build script generates variant files (JSON/YAML) in the /static folder. These auto-generated files must be committed to Git as Scalar serves them directly from the static folder.
npm run buildRun code quality checks:
npm testThis runs:
- Prettier code formatting check
- OpenAPI specification validation
Documentation content is © OnceHub.
