It is possible to assign methods to one or multiple profiles using x-smallrye-profile-xxxx.
This is a great idea, since not publishing all endpoints is a common use case. Additionally, exposing only a specific set of methods is also relevant (e.g., all order-related functionality, marked with tag=order).
In my opinion, a better and more standardized solution for marking specific methods for certain “profiles” would be to use the tags attribute defined in the OpenAPI specification.
Methods can be assigned to one or more tags, similar to how it is currently done with x-smallrye-profile-xxxx.