debian-image-builder-frontend/api/README.md
Ondrej Ezr 25144511ad api: split pulling API changes and regenerating new API
For checking wether the api was tempered with, we need separate action,
that just checks the code against the currently pulled spec.

This introduces two subactions for `npx api`.
These are `npx api:generate` and `npx api:pull`.
2024-01-23 12:39:32 +01:00

19 lines
No EOL
287 B
Markdown

# API
This folder contains generated code for API endpoints needed by this repo.
## Updating API changes
To pull new API changes and regenerating the code run
```shell
npm run api
```
## Regenerating the code only
To regenerate the code only, run
```shell
npm run api:generate
```