-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Documentation for Custom http status code #11445
base: 4.7.x
Are you sure you want to change the base?
Conversation
it needs to be added to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, some adjustments needed
Sure, working on it. |
I have made the changes and resolved the comments, please feel free to suggest any other changes if needed. |
|
||
Below we can see how we support custom status codes and how to implement them. | ||
|
||
snippet::io.micronaut.http.HttpResponse[tags="getStatusMethod", indent=0, title="HttpResponse.java"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested these snippets actually work?
This PR is related to the opened issue #11220
@yawkat, please feel free to provide any suggestions or feedback on the changes. I'm open to any improvements or ideas you may have.