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`.
287 B
287 B
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