smallrye / smallrye-open-api

SmallRye implementation of Eclipse MicroProfile OpenAPI
Apache License 2.0
118 stars 89 forks source link

Inherited Endpoints Cannot be Hidden #2080

Open JakeH10 opened 1 week ago

JakeH10 commented 1 week ago

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 commented 1 week ago

@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 commented 1 week ago

@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 commented 1 week ago

@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.

dhoffer commented 3 hours ago

Hi @MikeEdgar just checking the status of this one?