jakartaee / jakartaee/rest

Clarify if MBR/MBW should see annotations from interfaces and concrete classes

Open
#477 3 comments 0 reactions 1 assignee Claimed by @spericas View on GitHub
Component: spec
Dominant language
Java
Stars
400
Forks
143
PR merge metrics
No merged PRs in 30d

Description

Given

```
public interface RootInterface {
@GET
@Produces
String get();
}

public class RootImpl implements RootInterface {
@A
String get();
}
```

should MBR and MBW see @GET + @Produces only or @GET + @Produces + @A where @A is a custom non-JAX-RS annotation ?

Proposal: update the Annotation Inheritance spec text accordingly, probably makes sense to avoid merging but I'm not sure

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.