language-learning-app/frontend/script/download-openapi.sh

3 lines
No EOL
178 B
Bash

# Makes a request to localhost:8000/openapi.json and saves the result in ./src/lib/openapi.json
curl -o ./docs/openapi.json http://localhost:8000/openapi.json
pnpm openapi-ts:gen