From 666fe2a24d9d379e032336694e0b6a40a2664117 Mon Sep 17 00:00:00 2001 From: AAAlinaaa Date: Wed, 7 Dec 2022 16:37:46 +0100 Subject: [PATCH] fix(mrcm): Update endpoint names --- .../snowowl/snomed/core/rest/SnomedMrcmRestService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snomed/com.b2international.snowowl.snomed.core.rest/src/com/b2international/snowowl/snomed/core/rest/SnomedMrcmRestService.java b/snomed/com.b2international.snowowl.snomed.core.rest/src/com/b2international/snowowl/snomed/core/rest/SnomedMrcmRestService.java index 72b75d69253..276506258c3 100644 --- a/snomed/com.b2international.snowowl.snomed.core.rest/src/com/b2international/snowowl/snomed/core/rest/SnomedMrcmRestService.java +++ b/snomed/com.b2international.snowowl.snomed.core.rest/src/com/b2international/snowowl/snomed/core/rest/SnomedMrcmRestService.java @@ -48,7 +48,7 @@ public class SnomedMrcmRestService extends AbstractRestService { @ApiResponse(responseCode = "400", description = "Bad Request"), @ApiResponse(responseCode = "404", description = "Not found"), }) - @GetMapping(value = "/{path:**}/mrcm/attribute/domains", produces = { AbstractRestService.JSON_MEDIA_TYPE }) + @GetMapping(value = "/{path:**}/mrcm/types", produces = { AbstractRestService.JSON_MEDIA_TYPE }) public @ResponseBody Promise getApplicableTypes( @Parameter(description = "The resource path", required = true) @PathVariable(name ="path") @@ -102,7 +102,7 @@ public class SnomedMrcmRestService extends AbstractRestService { @ApiResponse(responseCode = "400", description = "Bad Request"), @ApiResponse(responseCode = "404", description = "Not found"), }) - @GetMapping(value = "/{path:**}/mrcm/attribute/ranges", produces = { AbstractRestService.JSON_MEDIA_TYPE }) + @GetMapping(value = "/{path:**}/mrcm/ranges", produces = { AbstractRestService.JSON_MEDIA_TYPE }) public @ResponseBody Promise getApplicableRanges( @Parameter(description = "The resource path", required = true) @PathVariable(name ="path")