Skip to content

Commit

Permalink
Merge pull request #90 from Dmitriusan/patch-1
Browse files Browse the repository at this point in the history
Fix typos at index.adoc
  • Loading branch information
wimdeblauwe authored Apr 24, 2024
2 parents 5ac1842 + a7d85fa commit a4c863f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/docs/asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ This documentation is for version {project-version}.

== Goal

The goal of the project is to make it easy to have proper error responses for REST APIs build with Spring Boot.
Just like Spring Boot itself it takes an opinionated approach to how the response body should look like in the case of an error.
The goal of the project is to make it easy to have proper error responses for REST APIs built with Spring Boot.
Just like Spring Boot itself, it takes an opinionated approach to how the response body should look like in the case of an error.

== Getting started

Expand Down Expand Up @@ -822,7 +822,7 @@ public class CustomerValidator implements ConstraintValidator<ValidCustomer, Cre

[NOTE]
====
If you want to change the message for the global errors, the default Spring mechanismn to do see keeps working.
If you want to change the message for the global errors, the default Spring mechanism for that keeps working.
So use `{}` to indicate that Spring should search the `messages.properties` file:
Expand Down Expand Up @@ -1357,7 +1357,7 @@ One of `FULL_QUALIFIED_NAME`, `ALL_CAPS`.

|error.handling.http-statuses
|Allows to set the HttpStatus response code to use for the full qualified name of an `Exception`
| `HttpStatus.INTERNAL_SERVER_ERROR` is used for custom exceptions have no specific response status set here.
| `HttpStatus.INTERNAL_SERVER_ERROR` is used for custom exceptions that have no specific response status set here.

|error.handling.codes
|Allows to set the code that should be used for the full qualified name of an `Exception` or the name of a validation annotation.
Expand Down

0 comments on commit a4c863f

Please sign in to comment.