When @ExternalDocumentation is used to annotate a class, the generated OpenAPI documentation does not contain an externalDocs element at root level, as it should based on the related MicroProfile Javadoc: https://github.com/microprofile/microprofile-open-api/blob/main/api/src/main/java/org/eclipse/microprofile/openapi/annotations/ExternalDocumentation.java#L34
See #2385, which adds a test to reproduce such behavior.