Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openapi3filter: add Unwrap() method to SecurityRequirementsError #905

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

nickajacks1
Copy link
Contributor

Allows users to perform checks like errors.Is which may be returned from the given AuthenticationFunc.

@fenollp fenollp changed the title fix: add Unwrap method to SecurityRequirementsError openapi3filter: add Unwrap() method to SecurityRequirementsError Feb 9, 2024
@fenollp
Copy link
Collaborator

fenollp commented Feb 9, 2024

Allows users to perform checks like errors.Is which may be returned from the given AuthenticationFunc.

Please add a test showing this behavior (an Example would be best)

@nickajacks1 nickajacks1 force-pushed the sec-err-unrwap branch 3 times, most recently from 87e2d07 to fceebb7 Compare February 10, 2024 01:24
@nickajacks1
Copy link
Contributor Author

I've added an Example. Please let me know if it wasn't what you had in mind!

@fenollp fenollp merged commit 439335c into getkin:master Feb 11, 2024
7 checks passed
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