Skip to content

Commit 940afb5

Browse files
updated
1 parent 6094196 commit 940afb5

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ Requires Java 21, Spring boot 3.2.0+ and Jakarta EE 10
1010
1. [Introduction](#introduction)
1111
2. [Installation](#installation)
1212
3. [Features offered](https://github.com/officiallysingh/spring-boot-problem-handler#features)
13-
4. [Controller Advices bundled with library](https://github.com/officiallysingh/spring-boot-problem-handler#controller-advices)
14-
- [General advices for web applications](https://github.com/officiallysingh/spring-boot-problem-handler#general-advices-recommended-for-all-spring-rest-services)
15-
- [DAO advices for relational databases and MongoDB](https://github.com/officiallysingh/spring-boot-problem-handler#dao-advices)
16-
- [Security advices for common security exceptions](https://github.com/officiallysingh/spring-boot-problem-handler#security-advices)
17-
- [OpenAPI validation advice for API specification validations](https://github.com/officiallysingh/spring-boot-problem-handler#openapi-validation-advice)
18-
5. [Spring Configurations](https://github.com/officiallysingh/spring-boot-problem-handler#configurations)
19-
6. [Problem Properties to customize the behaviour](https://github.com/officiallysingh/spring-boot-problem-handler#problem-properties)
20-
7. [Error Key, the central concept behind error attribute's externalization](https://github.com/officiallysingh/spring-boot-problem-handler#error-key)
21-
8. [Error response characteristics](https://github.com/officiallysingh/spring-boot-problem-handler#error-response)
22-
9. [Message resolvers to externalize error response in `properties` files](https://github.com/officiallysingh/spring-boot-problem-handler#message-resolvers)
23-
10. [Creating and throwing exceptions in your applications](https://github.com/officiallysingh/spring-boot-problem-handler#creating-and-throwing-exceptions)
24-
11. [Stack trace embedded in error response](https://github.com/officiallysingh/spring-boot-problem-handler#stack-traces)
25-
12. [Cause chains embedded in error response](https://github.com/officiallysingh/spring-boot-problem-handler#cause-chains)
26-
13. [Customizations of default behaviour](https://github.com/officiallysingh/spring-boot-problem-handler#customizations)
27-
- [Customize error response](https://github.com/officiallysingh/spring-boot-problem-handler#customize-error-response)
28-
- [Customize or Override advices](https://github.com/officiallysingh/spring-boot-problem-handler#customize-or-override-advices)
29-
14. [Define new advices](https://github.com/officiallysingh/spring-boot-problem-handler#define-new-advices)
30-
15. [Testing support](https://github.com/officiallysingh/spring-boot-problem-handler#testing)
31-
16. [Example error responses in different scenarios](https://github.com/officiallysingh/spring-boot-problem-handler#example-error-responses)
13+
4. [Controller Advices bundled with library](#controller-advices)
14+
- [General advices for web applications](#general-advices-recommended-for-all-spring-rest-services)
15+
- [DAO advices for relational databases and MongoDB](#dao-advices)
16+
- [Security advices for common security exceptions](#security-advices)
17+
- [OpenAPI validation advice for API specification validations](#openapi-validation-advice)
18+
5. [Spring Configurations](#configurations)
19+
6. [Problem Properties to customize the behaviour](#problem-properties)
20+
7. [Error Key, the central concept behind error attribute's externalization](#error-key)
21+
8. [Error response characteristics](#error-response)
22+
9. [Message resolvers to externalize error response in `properties` files](#message-resolvers)
23+
10. [Creating and throwing exceptions in your applications](#creating-and-throwing-exceptions)
24+
11. [Stack trace embedded in error response](#stack-traces)
25+
12. [Cause chains embedded in error response](#cause-chains)
26+
13. [Customizations of default behaviour](#customizations)
27+
- [Customize error response](#customize-error-response)
28+
- [Customize or Override advices](#customize-or-override-advices)
29+
14. [Define new advices](#define-new-advices)
30+
15. [Testing support](#testing)
31+
16. [Example error responses in different scenarios](#example-error-responses)
3232

3333
## Introduction
3434

@@ -409,11 +409,11 @@ Following is an example response body for an error.
409409
}
410410
```
411411
Response Header when service is configured for Json `HttpMessageConverters`
412-
```json
412+
```text
413413
content-type: application/problem+json
414414
```
415415
Response Header when service is configured for XML `HttpMessageConverters`
416-
```json
416+
```text
417417
content-type: application/problem+xml
418418
```
419419

0 commit comments

Comments
 (0)