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
Replace model generation for openshift-model-storageversionmigrator module with new OpenAPI approach.
Note
For OpenShift models there are going to be multiple conflicts with the previously generated code. The openapi-generator won't reuse some of the types since OpenShift's OpenAPI spec hasn't got shared references and model types are defined inline.
Tasks
Remove build-helper-maven-plugin
Remove maven-antrun-plugin from the generate profile
Add openapi-model-generator-maven-plugin to the generate profile
Configure the plugin to generate the specific classes
Remove the go-related files and directories (Makefile, cmd)
Remove invocation from the generateModel.sh script
The text was updated successfully, but these errors were encountered:
Description
Part of #6130
Replace model generation for
openshift-model-storageversionmigrator
module with new OpenAPI approach.Note
For OpenShift models there are going to be multiple conflicts with the previously generated code.The openapi-generator won't reuse some of the types since OpenShift's OpenAPI spec hasn't got shared references and model types are defined inline.Tasks
build-helper-maven-plugin
maven-antrun-plugin
from thegenerate
profileopenapi-model-generator-maven-plugin
to thegenerate
profileMakefile
,cmd
)generateModel.sh
scriptThe text was updated successfully, but these errors were encountered: