Hi,
As commented, this was already fixed and merged in main branch (7.75.x-SNAPSHOT). So, a workaround could be to align your local environment with main branch, and generate the jars from there, replacing in your deployment the target jar to the fixed one: kie-server-api-7-75-x.SNAPSHOT.jar.
For example:
Override the original version of modified jars explicitly declaring them in <dependencyManagement> of your project pom.xml:
	   <dependency>
	      <groupId>org.kie.server</groupId>
	      <artifactId>kie-server-api</artifactId>
	      <version>7.75.x-SNAPSHOT</version>
	    </dependency>
Hope it helps.