Skip to content

feature: Expose logic to generate APIExport from APIResourceSchema #2133

@hasheddan

Description

@hasheddan

Feature Description

Currently, the apigen tool offers the useful functionality of generating an APIExport for each group in the set of APIResourceSchemas. This is after generating the APIResourceSchemas from CustomResourceDefinitions -- logic that is exposed to third parties in the apisv1alpha1 package.

Proposed Solution

It would be helpful to also expose the APIExport generation in the apisv1alpha1 package.

Alternative Solutions

The alternative today would be to let folks copy this logic around, or (hopefully not) programatically invoke the apigen tool.

Want to contribute?

  • I would like to work on this issue.

Additional Context

When this logic is moved, we should consume it in the apigen tool as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions