hashicorp / hashicorp/python-tfe

Code generate the python client using the publicly accessible OpenAPI spec

Offen
#200 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
17
Forks
11
Ø Merge
2 T. 27 Min.
Gemergte PRs (30 T.)
4

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
openapi, python
Bereich
api
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.