Skip to content

Javadoc is not beeing loaded from interfaces #1548

Closed
@MarcelCoding

Description

@MarcelCoding

Describe the bug
If the javadoc is places at the interface and not the implementation, it isn't being loaded.

To Reproduce
Steps to reproduce the behavior:

  • Spring Boot Version: 2.6.4
  • Spring Doc Version: 1.6.6
  • Spring Doc Modules: webflux-ui, javadoc
public interface OAuthProvider {

  /**
   * Returns a {@link Set} with {@link Metadata} of all available OAuth provider. Included is a name witch could be
   * provided to the user as well as an id witch is used later on in the authentication flow.
   *
   * @return a {@link Set} with {@link Metadata} of all available OAuth provider.
   */
  Metadata getMetadata();
}
@RestController
@RequestMapping("/auth/oauth")
public class OAuthControllerImpl implements OAuthController {

  // ...

  @Override
  public Set<Metadata> getMetadata() {
    return this.oAuthService.getMetadata();
  }
}

Additional context
It works if I place the javadoc at the implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions