Skip to content

Disable security for one operation #259

Closed
@dlamoris

Description

@dlamoris

Hi,
I have a @OpenAPIDefinition with security defined for the whole app, but I want to override and disable security for one method, how can I do that?
Using @Operation(security = {}) on the method doesn't seem to work.
Expected output in yaml is security: [] for that one operation.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions