vault-link/scripts/update-api-types.sh

4 lines
149 B
Bash
Executable file

#!/bin/bash
npm install -g openapi-typescript
openapi-typescript http://localhost:3030/api.json --output frontend/sync-client/src/services/types.ts