Yi Zhang created FLINK-39290:
--------------------------------

             Summary: 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


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)

Reply via email to