Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spike] Investigate open api configuration issue with x-go-types-import on index/server #1595

Open
1 task
thepetk opened this issue Jun 7, 2024 · 0 comments
Labels
area/registry Devfile registry for stacks and infrastructure

Comments

@thepetk
Copy link
Contributor

thepetk commented Jun 7, 2024

Which area is this issue related to?

/area registry

Issue Description

During the upgrade of registry-support to go 1.21 we've experienced an issue with the oapi-codegen framework. More detailed after the addition of the sigs.k8s.io/structured-merge-diff/v4/schema the imports on types.gen.go were updated and the generator/schema package was removed (info here.

As a workaround we hardcoded the generator schema package on the index/server/config/types.yaml template, but ideally we would like to keep the same open API configuration and avoiding having hardcoded things on templates.

This issue's scope is to explore solutions for this issue, even by trying different generation frameworks.

Acceptance Criteria

  • Investigation report has been shared here and required issues (if any) have been created
@openshift-ci openshift-ci bot added the area/registry Devfile registry for stacks and infrastructure label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry Devfile registry for stacks and infrastructure
Projects
Status: No status
Development

No branches or pull requests

1 participant