You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Istio APIs (https://github.com/istio/api) are generated from protobuf types by using the buf tool.
Some of the APIs have mismatched or inconsistent comment and field tags for patchMergeKey and patchStrategy configurations.
This is the case for example for istio.io/api/meta/v1alpha1.IstioStatus (and others).
When running the Open API code generation this leads to errors such as:
panic: OpenAPI code generation error (generated_istio_openapi): failed executing generator: some targets had errors: Tags in comment and struct should match for member (Conditions) of (istio.io/api/meta/v1alpha1.IstioStatus)
Description
Part of #6130
Replace model generation for
istio
module with new OpenAPI approach.Note
For extension models there are going to be multiple conflicts with the previously generated code.
Tasks
build-helper-maven-plugin
maven-antrun-plugin
from thegenerate
profilejsonschema2pojo-maven-plugin
from thegenerate
profileopenapi-model-generator-maven-plugin
plugin to generate the specific classes.Makefile
,cmd
)generateModel.sh
scriptThe text was updated successfully, but these errors were encountered: