-
Notifications
You must be signed in to change notification settings - Fork 306
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
OpenAPI JAX-RS Incomplete subresource support /FISH-5808 #3042
Comments
Attached is a sample pmaven project and the final artifact for deployment openapi-jaxrs-subresource-incomplete.zip |
Hi @vassterg, The current OpenAPI implementation doesn't support subresources. I've made an enhancement request Kind regards, Matt |
@jbee this is an old one do you think it will still be a problem? |
@smillidge I believe we fixed this but I have to check. |
@smillidge , @vassterg I was confusing this with another issue - @MattGill98 was and is correct in that we do not support subresources yet. |
Support for subresources is available in 5.194. |
This does not work. |
An internal issue is created to research the JAX-RS subresources and the OpenAPI document relation in detail. Thx |
Description
Incomplete support of openapi when subresource is present.
I have two classes Foo and Bar such that Foo is a jaxrs resource and Bar is a subresource.
When deployed, the openapi link is incomplete.
Expected Outcome
I would expect in the openapi link, the Bar sub resource GET endpoint to show up in the openapi and the Bar sub resource to be included as a schema.
Current Outcome
No endpoint and schema for subresource bar.
Steps to reproduce (Only for bug reports)
Create a simple javaee 8 maven JAX-RS project.
Example pom.xml
Add the following three classes:
Build and deploy project. Then access http://localhost:8080/openapi
Samples
Context (Optional)
Environment
The text was updated successfully, but these errors were encountered: