Skip to content

Conversation

@Olfi01
Copy link

@Olfi01 Olfi01 commented Nov 26, 2025

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

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor (non-breaking change)
  • 🧪 Tests
  • 📝 Documentation
  • 🧹 Chore (build or tooling)

Checklist

  • I have added/updated tests as needed
  • I have added/updated documentation where applicable
  • The PR title is descriptive
  • The code builds and passes tests locally
  • I have linked related issues (if any)

Screenshots / Additional Context

@Olfi01 Olfi01 marked this pull request as ready for review November 26, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple SecurityRequirements annotations with AND condition

1 participant