[
https://issues.apache.org/jira/browse/FLINK-39290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-39290:
-----------------------------------
Labels: pull-request-available (was: )
> Doc generation fails with ExceptionInfo name conflict
> -----------------------------------------------------
>
> Key: FLINK-39290
> URL: https://issues.apache.org/jira/browse/FLINK-39290
> Project: Flink
> Issue Type: Bug
> Reporter: Yi Zhang
> Priority: Major
> Labels: pull-request-available
>
> The command `./mvnw package -Dgenerate-rest-docs -pl flink-docs -am -nsu
> -DskipTests` fails with the following exception:
> main:
> [java] Exception in thread "main" java.lang.IllegalStateException:
> Detected name clash for model name 'ExceptionInfo'.
> [java] Classes:
> [java] -
> org.apache.flink.runtime.rest.messages.JobExceptionsInfoWithHistory.ExceptionInfo
> [java] -
> org.apache.flink.runtime.rest.messages.ApplicationExceptionsInfoWithHistory.ExceptionInfo
> [java] Either rename the classes or annotate them with
> 'io.swagger.v3.oas.models.media.Schema' and set a unique 'name'.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)