Skip to content

Commit 4050b8c

Browse files
committed
Disable JSON home by default
1 parent 031c005 commit 4050b8c

File tree

28 files changed

+32
-26
lines changed

28 files changed

+32
-26
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 3.8.3 (2019-03-08)
2+
3+
* [chg] JSON home resource is now disabled by default.
4+
15
# Version 3.8.2 (2019-03-07)
26

37
* [chg] Adaptively supports all Bean Validation specification levels.

cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.seedstack.seed</groupId>
1616
<artifactId>seed</artifactId>
17-
<version>3.8.2-SNAPSHOT</version>
17+
<version>3.8.3-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>seed-cli</artifactId>

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.seedstack.seed</groupId>
1616
<artifactId>seed</artifactId>
17-
<version>3.8.2-SNAPSHOT</version>
17+
<version>3.8.3-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>seed-core</artifactId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<groupId>org.seedstack.seed</groupId>
2121
<artifactId>seed</artifactId>
22-
<version>3.8.2-SNAPSHOT</version>
22+
<version>3.8.3-SNAPSHOT</version>
2323
<packaging>pom</packaging>
2424

2525
<properties>

rest/core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.seedstack.seed</groupId>
1616
<artifactId>seed-rest</artifactId>
17-
<version>3.8.2-SNAPSHOT</version>
17+
<version>3.8.3-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>seed-rest-core</artifactId>

rest/jersey2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.seedstack.seed</groupId>
1616
<artifactId>seed-rest</artifactId>
17-
<version>3.8.2-SNAPSHOT</version>
17+
<version>3.8.3-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>seed-rest-jersey2</artifactId>

rest/jersey2/src/test/resources/application.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ web:
1919
rest:
2020
baseRel: http://example.org/rel
2121
path<withPrefix>: /rest
22+
jsonHome: true
2223
jsonHome<withoutRootResource>: false
2324

2425
textHome<withoutRootResource>: false

rest/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.seedstack.seed</groupId>
1515
<artifactId>seed</artifactId>
16-
<version>3.8.2-SNAPSHOT</version>
16+
<version>3.8.3-SNAPSHOT</version>
1717
</parent>
1818

1919
<artifactId>seed-rest</artifactId>

rest/specs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.seedstack.seed</groupId>
1515
<artifactId>seed-rest</artifactId>
16-
<version>3.8.2-SNAPSHOT</version>
16+
<version>3.8.3-SNAPSHOT</version>
1717
</parent>
1818

1919
<artifactId>seed-rest-specs</artifactId>

rest/specs/src/main/java/org/seedstack/seed/rest/RestConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* License, v. 2.0. If a copy of the MPL was not distributed with this
66
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
77
*/
8+
89
package org.seedstack.seed.rest;
910

1011
import java.util.Collections;
@@ -22,7 +23,7 @@ public class RestConfig {
2223
private String jspPath = "/WEB-INF/jsp";
2324
private String baseRel = "";
2425
private String baseParam = "";
25-
private boolean jsonHome = true;
26+
private boolean jsonHome = false;
2627
private Map<String, String> jerseyProperties = new HashMap<>();
2728
private Set<Class<?>> features = new HashSet<>();
2829
private ExceptionMappingConfig exceptionMapping = new ExceptionMappingConfig();

0 commit comments

Comments
 (0)