#Spring jakarta.validation

1 messages · Page 1 of 1 (latest)

plush dagger
#

When i am using validation with jakarta it is inclduing on response "trace" property ... how can i remove it ?

pastel glenBOT
#

<@&1004656351647117403> please have a look, thanks.

pastel glenBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

sacred stone
#
server.error.include-stacktrace=never
server:
  error:
    include-stacktrace: never
#

should fix it

plush dagger
#

server.error.include-stacktrace=never
yeap this worked ... thnks
Is there any alternative solution, in this case i am not need something else, but just in case, what if i wanted to send my own class for only status 400 ....

pastel glenBOT
#

Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍

sacred stone
#

thats the other option you have

#

if you want to customize it, its a whole other story