debian-image-builder-frontend/api
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
..
config api: update image builder api 2024-01-11 15:15:37 +01:00
schema api: update image builder api via npm run api 2024-01-22 15:31:33 +01:00
codegen.sh api: split pulling API changes and regenerating new API 2024-01-23 12:39:32 +01:00
pull.sh api: split pulling API changes and regenerating new API 2024-01-23 12:39:32 +01:00
README.md api: split pulling API changes and regenerating new API 2024-01-23 12:39:32 +01:00

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

npm run api

Regenerating the code only

To regenerate the code only, run

npm run api:generate