Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pydantic classes for all api's or OpenAPI definition #258

Open
rajesh-chawla opened this issue Jul 20, 2024 · 0 comments
Open

Pydantic classes for all api's or OpenAPI definition #258

rajesh-chawla opened this issue Jul 20, 2024 · 0 comments

Comments

@rajesh-chawla
Copy link

Is your feature request related to a problem? Please describe.
I'd like to use the Alpaca API in python and process the results as JSON. One way I can do this is to have pydantic classes for each of the API's or an OpenAPI v3 definition from which i can automatically generate the pydantic classes.

Describe the solution you'd like
I'm interested in any solution that allows me to validate the return of data from the API and allows the generation of JSON. Either pydantic classes for each API or an OpenAPI defintion from which I can generate my own definitions.

Describe alternatives you've considered
Writing my own set of Pydantic classes or hoping that there are no data errors from the api's.

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant