alpacahq / alpacahq/Alpaca-API

Pydantic classes for all api's or OpenAPI definition

未关闭
#258 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
173
派生
17
PR 合并指标
30 天内没有已合并 PR

描述

**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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。