[
https://issues.apache.org/jira/browse/FLINK-39290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhu Zhu reassigned FLINK-39290:
-------------------------------
Assignee: Yi Zhang
> 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
> Assignee: Yi Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> 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)