Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jooby-apt: add option to remove mvcMethod and returnType from route #3492

Closed
jknack opened this issue Aug 6, 2024 · 0 comments
Closed

jooby-apt: add option to remove mvcMethod and returnType from route #3492

jknack opened this issue Aug 6, 2024 · 0 comments

Comments

@jknack
Copy link
Member

jknack commented Aug 6, 2024

Today:

{
      /** See {@link Controller1292#response() */
      app.get("/", this::response)
        .setReturnType(String.class)
        .setMvcMethod(Controller1292.class.getMethod("response"));
}

With: -Ajooby.mvcMethod=false and -Ajooby.returnType=false:

{
      /** See {@link Controller1292#response() */
      app.get("/", this::response);
}
@jknack jknack added this to the 3.2.8 milestone Aug 6, 2024
@jknack jknack closed this as completed in e5bdeb7 Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant