We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Generated JAX-RS resources from data.panache.PanacheEntityResource do not honor openapi annotations
I have put @Operation(hidden=true) on method in PeopleResource that extends PanacheEntityResource (https://github.com/quarkusio/quarkus-quickstarts/blob/main/hibernate-orm-rest-data-panache-quickstart/src/main/java/org/acme/hibernate/orm/panache/rest/entity/PeopleResource.java)
@Operation(hidden=true)
But the /my-people/all endpoint is still visible in http://localhost:8080/q/openapi?format=json
/my-people/all
Using @MethodProperties(exposed = false) is not working for me as I want to have the endpoint available but just not listed in openapi contract.
@MethodProperties(exposed = false)
Generated endpoint is not visible in http://localhost:8080/q/openapi?format=json
Generated endpoint is still visible in http://localhost:8080/q/openapi?format=json
@org.eclipse.microprofile.openapi.annotations.Operation(hidden=true)
list
uname -a
ver
macOS
java -version
Java 17
Quuarkus main
mvnw --version
gradlew --version
No response
The text was updated successfully, but these errors were encountered:
/cc @EricWittmann (openapi), @FroMage (panache), @MikeEdgar (openapi), @geoand (rest-data-panache), @loicmathieu (panache), @phillip-kruger (openapi)
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Generated JAX-RS resources from data.panache.PanacheEntityResource do not honor openapi annotations
I have put
@Operation(hidden=true)
on method in PeopleResource that extends PanacheEntityResource (https://github.com/quarkusio/quarkus-quickstarts/blob/main/hibernate-orm-rest-data-panache-quickstart/src/main/java/org/acme/hibernate/orm/panache/rest/entity/PeopleResource.java)But the
/my-people/all
endpoint is still visible in http://localhost:8080/q/openapi?format=jsonUsing
@MethodProperties(exposed = false)
is not working for me as I want to have the endpoint available but just not listed in openapi contract.Expected behavior
Generated endpoint is not visible in http://localhost:8080/q/openapi?format=json
Actual behavior
Generated endpoint is still visible in http://localhost:8080/q/openapi?format=json
How to Reproduce?
@org.eclipse.microprofile.openapi.annotations.Operation(hidden=true)
onlist
method of org.acme.hibernate.orm.panache.rest.entity.PeopleResourceOutput of
uname -a
orver
macOS
Output of
java -version
Java 17
Quarkus version or git rev
Quuarkus main
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: