Skip to content

Conversation

@b41ex
Copy link
Collaborator

@b41ex b41ex commented Oct 17, 2025

fix: collect only security and security schema changes relevant for the operation
fix: only include root security and security schemes relevant for operation when creating single operation specification


return {
asymmetricMatch: (actual: SecuritySchemesObject): boolean => {
if (!actual || typeof actual !== 'object') {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is this possible if actual receives only objective type?

version: 1.0.0
security:
- OAuth2:
- read
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed both schema key and array. is it correct?

title: Security Test
version: 1.0.0
security:
- ApiKeyAuth: []
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty array here is a little bit confusing. can't we get rid of it if it has no effect on the case?

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.

[FE] Wrong categorization for added non-used schemas

3 participants