-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use pydantic codegen to generate types from OpenAPI Scope3AI (#6)
* feat: initial pytest implementation for openai (still use scope3 api) * ci: include pytest with python matrix * feat: autogen types from openapi scope3ai yaml * fix: fix typegen for formatting
- Loading branch information
Showing
10 changed files
with
906 additions
and
369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,6 @@ tests = [ | |
"pytest>=8.3.4", | ||
"pytest-docker>=3.1.1", | ||
] | ||
openapi = [ | ||
"datamodel-code-generator>=0.26.4", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.