hashicorp / hashicorp/python-tfe
Code generate the python client using the publicly accessible OpenAPI spec
- Langage dominant
- Python
- Étoiles
- 17
- Forks
- 11
- Merge moyen
- 2 j 27 min
- PR mergées (30 j)
- 4
Description
[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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- openapi, python
- Domaine
- api
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100