-
-
Notifications
You must be signed in to change notification settings - Fork 529
ApiResponse DEFAULT_DESCRIPTION Improvement #610
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
Comments
@bnasslahsen The Travis test failed for related PR #611 and I presume thats a good thing. The related tests will need changing. The change I did probably went beyond ControllerAdvices. Basically instead of "defaultResponse" I am trying to make it work using HttpStatus.getReasonPhrase(). Sounds reasonable to me. |
Ok, i will see the impacts on the tests. |
Agreed. I was just writing that its beyond ControlerAdvice. |
@bnasslahsen I can fix the tests as part of the PR |
It's ok. I have already started the merge. |
I just noticed what you typed. Was committing the test changes |
@bnasslahsen I do wish I could have some PR committed in my name also. :) |
Next time 👍 |
@bnasslahsen This time it was like a robbery from my point of view. :) |
Uh oh!
There was an error while loading. Please reload this page.
Hi @bnasslahsen
Remember below code in ControllerAdvice
Look at the corresponding responses:
Expectation is that instead of "defaultResponse" it should pickup the message from HttpStatus.getReasonPhrase().
Raghu
The text was updated successfully, but these errors were encountered: