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

feat: Add optional reason to Forbidden Result when using ProblemDetails #186

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

Anders-Toegersen
Copy link

changes

Adds optional reason message to Forbidden Result if ProblemDetails are used.

This is in compliance with RFC 7231 and useful when the Forbidden Result is part of the application logic in a specific endpoint.

@Anders-Toegersen Anders-Toegersen added the enhancement New feature or request label Oct 4, 2023
@Anders-Toegersen Anders-Toegersen self-assigned this Oct 4, 2023
@Anders-Toegersen Anders-Toegersen force-pushed the feature/add-reason-to-forbidden-result branch from b923ca0 to 3c3fff5 Compare October 6, 2023 09:56
@davidkallesen davidkallesen merged commit fbe4569 into main Oct 6, 2023
7 checks passed
@davidkallesen davidkallesen deleted the feature/add-reason-to-forbidden-result branch October 6, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants