Skip to content

Code generate the python client using the publicly accessible OpenAPI spec #200

Description

@brandonc

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.
  • Maintain just the wrapper, middleware, authentication, and other cross-cutting functionality, allowing the API to be extended automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions