cloudendpoints / endpoints-java

A Java framework for building RESTful APIs on Google App Engine
Apache License 2.0
32 stars 35 forks source link

Endpoints Framework Maven plugin: Generated docs include injected user? #205

Open ShaimaaSabry opened 3 years ago

ShaimaaSabry commented 3 years ago

I have the following api:

@ApiMethod(path = "users", httpMethod = HttpMethod.GET)
public UserResponse getUser(AuthenticatedUser authenticatedUser) {
   // code
}

AuthenticatedUser is injected by an authenticator.

When I use Endpoints Framework Maven plugin to generate OpenApi documentation, the plugin does not exclude the injected class (the class is included in the generated docs).