Skip to content

Commit

Permalink
Merge pull request #349 from Renumics/feature/248-pydantic-2
Browse files Browse the repository at this point in the history
Feature/248 pydantic 2
  • Loading branch information
druzsan authored Nov 13, 2023
2 parents 8780c13 + ba0d1de commit 519dd29
Show file tree
Hide file tree
Showing 33 changed files with 845 additions and 219 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ api-client: ## Generate API Spec and CLient
rm -rf /tmp/spotlight-api-client
mkdir -p /tmp/spotlight-api-client
poetry run python ./scripts/generate_api_spec.py -o /tmp/spotlight-api-spec.json
npx @openapitools/openapi-generator-cli generate -g typescript-fetch \
pnpm exec openapi-generator-cli generate -g typescript-fetch \
-i /tmp/spotlight-api-spec.json -o /tmp/spotlight-api-client
# Fix generated code for multiple! file upload.
# This is supported by oai 3 but openapi-generator does not support it (yet).
Expand Down
2 changes: 1 addition & 1 deletion openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "6.6.0"
"version": "7.0.1"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"zustand": "^4.3.3"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.7.0",
"@testing-library/react": "^14.0.0",
"@types/chroma-js": "^2.4.0",
"@types/d3": "^7.4.0",
Expand Down
Loading

0 comments on commit 519dd29

Please sign in to comment.