Skip to content

Conversation

arcogabbo
Copy link
Contributor

@arcogabbo arcogabbo commented Jun 27, 2025

Description

Fixed the behaviour for the codegen whenever a security override at operation level occurred.

Motivation and Context

The generated client at the moment doesn't support it and this leads to syntax error on the generated client or to unexpected authorization required

How Has This Been Tested?

unit tests added, local tests with custom openapi specs from other projects

Screenshots (if appropriate):

Types of changes

  • Chore (improvement with no change in the behaviour)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@arcogabbo arcogabbo requested a review from a team as a code owner June 27, 2025 09:59
Copy link

github-actions bot commented Jun 27, 2025

Jira Pull Request Link

This Pull Request refers to the following Jira issue IOPID-3234

@arcogabbo arcogabbo changed the title Fix security override behaviour [#IOPID-3234] Fix security override behaviour Jun 27, 2025
Copy link
Contributor

@gquadrati gquadrati left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@arcogabbo arcogabbo merged commit 7fae2a9 into master Jun 30, 2025
5 checks passed
@arcogabbo arcogabbo deleted the fix-security-override-behaviour branch June 30, 2025 08:45
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.

2 participants