Core System API documentation.
Please install Node.js and pnpm first.
pnpm installation:
npm install --global corepack@latest
corepack enable pnpm
pnpm i
You need to compile after editing to preview.
pnpm build
Other Commands
pnpm format
pnpm compile
pnpm yaak
You need to compile OpenAPI before compiling Yaak
pnpm clean
The output files will be in tsp-output/schema/openapi.yaml
. You can preview using:
- Scalar - Just open the index.html file below.
- Swagger UI - Just open the swagger.html file below.
- Prism - For API documentation preview and testing. Run
pnpm start
and open http://localhost:4010. - Yaak - Import the
yaak
folder.