Skip to content

Commit 3829839

Browse files
committed
ACC-2100 add messages.properties to customize problem details
1 parent cfa48cd commit 3829839

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

contentgrid-appserver-app/src/main/resources/com/contentgrid/appserver/rest/problem/messages.properties renamed to contentgrid-appserver-rest/src/main/resources/com/contentgrid/appserver/rest/problem/messages.properties

File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
problemDetail.type.com.contentgrid.appserver.rest.exception.PropertyNotFoundException=https://contentgrid.cloud/problems/not-found/property
2+
problemDetail.title.com.contentgrid.appserver.rest.exception.PropertyNotFoundException=Property not found
3+
problemDetail.type.com.contentgrid.appserver.rest.exception.IllegalMediaTypeException=https://contentgrid.cloud/problems/invalid-media-type/illegal
4+
problemDetail.type.com.contentgrid.appserver.rest.exception.UnsupportedMediaTypeException=https://contentgrid.cloud/problems/invalid-media-type/unsupported
5+
problemDetail.type.org.springframework.web.server.MethodNotAllowedException=https://contentgrid.cloud/problems/method-not-allowed

0 commit comments

Comments
 (0)