Skip to content

Conversation

@adamsosterics
Copy link

@adamsosterics adamsosterics commented Aug 29, 2025

What/Why/How?

It is possible to define alternative required scopes for an operation and in the security header of the operation it is rendered correctly. However, in the "Required scopes" part it looks like that all these scopes are required. With these changes, the "Required scopes" part shows the required scopes per set.

Reference

See: OAI/OpenAPI-Specification#3001 (comment)

Tests

Snapshot is updated!

Screenshots (optional)

Before:
Screenshot 2025-09-23 at 11 36 21
After:
Screenshot 2025-09-23 at 11 34 01

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

@adamsosterics adamsosterics force-pushed the feat/handle-multiple-scope-sets branch from b8c4ea8 to d0c3d95 Compare August 29, 2025 15:29
@adamsosterics adamsosterics marked this pull request as ready for review August 29, 2025 15:31
@adamsosterics adamsosterics requested a review from a team as a code owner August 29, 2025 15:31
It is possible to define alternative required scopes for an operation
and in the security header of the operation it is rendered correctly.
However, in the "Required scopes" part it looks like that all these scopes are required.
With these changes, the "Required scopes" part shows the required scopes per set.

See: OAI/OpenAPI-Specification#3001 (comment)
@adamsosterics adamsosterics force-pushed the feat/handle-multiple-scope-sets branch from d0c3d95 to 04493ba Compare September 23, 2025 09:31
@adamsosterics
Copy link
Author

@andriimredocly (sorry for the ping, but I'd like to get this going) what would it take to get this PR merged?

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.

1 participant