[Spike] Investigate open api configuration issue with x-go-types-import
on index/server
#1595
Labels
area/registry
Devfile registry for stacks and infrastructure
lifecycle/stale
Stale items. These items have not been updated for 90 days.
Which area is this issue related to?
/area registry
Issue Description
During the upgrade of
registry-support
to go1.21
we've experienced an issue with theoapi-codegen
framework. More detailed after the addition of thesigs.k8s.io/structured-merge-diff/v4/schema
the imports ontypes.gen.go
were updated and thegenerator/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
The text was updated successfully, but these errors were encountered: