Skip to content

use tags instead of x-smallrye-profile-xxxx to mark specific methods for profile #2521

@michaelsonnleitner

Description

@michaelsonnleitner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions