feat: Multiple SecurityRequirement annotations with AND condition #3556 by Olfi01 · Pull Request #5025 · swagger-api/swagger-core (original) (raw)

Description

This PR introduces the possibility to specify multiple security requirements that are required in conjunction as opposed to being alternatives. As described by @miloszwatroba in #3556, this feature is already present in the swagger-models, but currently there is no way to specify it using annotations.
Following @frantuma's suggestion, this PR implements a possibility to specify multiple requirements with AND condition without breaking compatibility.

Fixes: #3556

Type of Change

Checklist

Screenshots / Additional Context