hashicorp / hashicorp/python-tfe
Code generate the python client using the publicly accessible OpenAPI spec
- Lenguaje dominante
- Python
- Estrellas
- 17
- Forks
- 11
- Merge medio
- 2 d 27 min
- PR fusionados (30 d)
- 4
Descripción
[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.
Guía de contribución
Línea de trabajo
Start with the public prerelease OpenAPI spec at https://app.terraform.io/openapi/prerelease.json and compare the current python-tfe client structure with the referenced go-tfe/v2 Kiota approach. Identify the wrapper, middleware, authentication, and other cross-cutting areas that must remain maintained manually. Done means the client can be regularly generated from the published spec while preserving those manually maintained layers.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- openapi, python
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100