hashicorp / hashicorp/python-tfe
Code generate the python client using the publicly accessible OpenAPI spec
- 主要语言
- Python
- 星标
- 17
- 派生
- 11
- 平均合并
- 2 天 27 分钟
- 30 天内合并 PR
- 4
描述
[https://app.terraform.io/openapi/prerelease.json](https://app.terraform.io/openapi/prerelease.json)
#### Use-cases
Avoid the delay in uptake and maintenance burden as new endpoints, operations, attributes, and relationships as they are added to the platform API.
#### Proposal
- Use any number of SDK generation tools to regularly code generate the API code published to HCP Terraform (link above). We use Microsoft Kiota for generating [go-tfe/v2](https://github.com/hashicorp/go-tfe).
- Maintain just the wrapper, middleware, authentication, and other cross-cutting functionality, allowing the API to be extended automatically.
贡献指南
调研方向
从 https://app.terraform.io/openapi/prerelease.json 上的公开 prerelease OpenAPI 规范开始,将当前 python-tfe 客户端的结构与所引用的 go-tfe/v2 Kiota 方法进行比较。确定 wrapper、middleware、身份验证以及其他必须继续手动维护的横切领域。完成的标准是:客户端可以根据已发布的规范定期生成,同时保留这些手动维护的层。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- openapi, python
- 领域
- api
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100