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

JAX-RS sub resource is not gererated in OpenAPI schema #3918

Closed
hantsy opened this issue Sep 8, 2019 · 3 comments
Closed

JAX-RS sub resource is not gererated in OpenAPI schema #3918

hantsy opened this issue Sep 8, 2019 · 3 comments
Labels
area/openapi area/resteasy-classic kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant

Comments

@hantsy
Copy link
Contributor

hantsy commented Sep 8, 2019

I mounted the subresource in the parent resource like this:

public class PostResource{
    //other methods are omitted here.
    
   @Path("{id}/comments")
    public CommentResource commentResource() {
        return resourceContext.getResource(CommentResource.class);
    }    

}

The details of this issue can be found on stackoverflow:
https://stackoverflow.com/questions/57830712/jax-rs-sub-resource-is-not-generated-in-quarkus-openapi-schema

@hantsy hantsy added the kind/bug Something isn't working label Sep 8, 2019
@emmanuelbernard
Copy link
Member

Related to #3919

@machi1990
Copy link
Member

Fixed by smallrye/smallrye-open-api#190. We'll need an upgrade once there is a new smallrye release to fix the issue.

@gsmet
Copy link
Member

gsmet commented Nov 18, 2019

This one should be fixed by now.

@gsmet gsmet closed this as completed Nov 18, 2019
@gsmet gsmet added the triage/out-of-date This issue/PR is no longer valid or relevant label Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/openapi area/resteasy-classic kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant
Projects
None yet
Development

No branches or pull requests

4 participants