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

Inherited Endpoints Cannot be Hidden #2080

Open
JakeH10 opened this issue Nov 21, 2024 · 3 comments
Open

Inherited Endpoints Cannot be Hidden #2080

JakeH10 opened this issue Nov 21, 2024 · 3 comments

Comments

@JakeH10
Copy link

JakeH10 commented Nov 21, 2024

If Resource A inherits Resource B and Resource B contains an endpoint, that endpoint will display under resource A in the openapi. However, the endpoint cannot be hidden with @Override and @Operation(hidden = true).

This does seem to be a part of a more general issue: @Operation is completely ignored on an Overridden method. I also tried to set the description, but it is ignored.

@dhoffer
Copy link

dhoffer commented Nov 25, 2024

@MikeEdgar What is the status of this one? This is a blocking issue for us. We are currently working with the latest smallrye-open-api SNAPSHOT code to get another needed fix(s) but we need this one too. I don't think its possible for us to fix this in the filter.

@MikeEdgar
Copy link
Member

@dhoffer I haven't yet had a chance to look into this issue and I'll unlikely be able to do so until next week.

@dhoffer
Copy link

dhoffer commented Nov 26, 2024

@MikeEdgar Yeah I know this is a holiday week for many, myself included. Ideally we would like to have this issue resolved and a new release as early as possible next week so we can push this into our next release cycle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants