From b294182f7bbfe1567f0d3770a4ff47627f01e3be Mon Sep 17 00:00:00 2001 From: Ivan Bella Date: Mon, 30 Oct 2023 17:46:25 +0000 Subject: [PATCH] Added v1 to the model endpoints --- .../main/java/datawave/microservice/model/ModelController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main/java/datawave/microservice/model/ModelController.java b/service/src/main/java/datawave/microservice/model/ModelController.java index 5396dc8..1884ab2 100644 --- a/service/src/main/java/datawave/microservice/model/ModelController.java +++ b/service/src/main/java/datawave/microservice/model/ModelController.java @@ -48,7 +48,7 @@ url = "https://github.com/NationalSecurityAgency/datawave-dictionary-service")) @Slf4j @RestController -@RequestMapping(path = "/model", +@RequestMapping(path = "/model/v1", produces = {MediaType.APPLICATION_JSON_VALUE, MediaType.APPLICATION_XML_VALUE, MediaType.TEXT_XML_VALUE, ProtostuffHttpMessageConverter.PROTOSTUFF_VALUE, MediaType.TEXT_HTML_VALUE, "text/x-yaml", "application/x-yaml"}) @Secured({"AuthorizedUser", "AuthorizedQueryServer", "InternalUser", "Administrator", "JBossAdministrator"})