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

Support annotations on the interface #36

Closed
Mkabaka opened this issue Feb 25, 2021 · 0 comments · Fixed by #109
Closed

Support annotations on the interface #36

Mkabaka opened this issue Feb 25, 2021 · 0 comments · Fixed by #109
Assignees
Labels
feature New feature or request

Comments

@Mkabaka
Copy link
Member

Mkabaka commented Feb 25, 2021

Expect

@Path("/hello")
public interface HelloService {

    @Path("/echo")
    String echo(@QueryParam(value = "name") String name);

}

@Service
public class HelloServiceImpl implements HelloService {

    @Override
    public String echo(String name) {
        return name;
    }

}

As we show above, if we visit http://127.0.0.1:8080/hello/service?name=LiMing
then we can get 200 response code successfully.

Actual (Now)

The 404 will be returned.

@Mkabaka Mkabaka added the feature New feature or request label Feb 25, 2021
@Mkabaka Mkabaka added this to the v0.1.1 milestone Feb 25, 2021
@Mkabaka Mkabaka added this to To Do in Full JAX-RS support via automation Feb 25, 2021
@Mkabaka Mkabaka removed this from the v0.1.1 milestone Feb 26, 2021
@Mkabaka Mkabaka self-assigned this Dec 9, 2021
@Mkabaka Mkabaka linked a pull request Jan 24, 2022 that will close this issue
@Mkabaka Mkabaka closed this as completed Jan 24, 2022
Full JAX-RS support automation moved this from To Do to Done Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant