DATAREST-534 - RepositorySchemaController now also matches non-explicit schema requests.

This commit is contained in:
Oliver Gierke
2015-05-07 14:19:45 +02:00
parent 4bc0f0cc4c
commit 6c44a60280

View File

@@ -57,7 +57,7 @@ class RepositorySchemaController {
* @param resourceInformation will never be {@literal null}.
* @return
*/
@RequestMapping(value = BASE_MAPPING + "/schema", method = GET, produces = { "application/schema+json" })
@RequestMapping(value = BASE_MAPPING + "/schema", method = GET)
public HttpEntity<JsonSchema> schema(RootResourceInformation resourceInformation) {
JsonSchema schema = jsonSchemaConverter.convert(resourceInformation.getDomainType());