Initial commit

This commit is contained in:
2023-05-04 15:42:41 +03:00
commit 559bb08595
19 changed files with 23225 additions and 0 deletions

12
generate.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
#
# Generate Cinode TypeScript type definitions
SRC="https://api.cinode.com/swagger/v0.1/swagger.json"
DEST="$(pwd)/src/cinode.d.ts"
npx openapi-typescript \
"$SRC" \
--export-type \
--path-params-as-type \
--output "$DEST"