[2904] remove unused staff

This commit is contained in:
katie_smilecdr 2021-08-23 15:12:13 -04:00
parent 10d4db5b9e
commit 712fdbd802
1 changed files with 1 additions and 2 deletions

View File

@ -385,7 +385,6 @@ public class OpenApiInterceptor {
Paths paths = new Paths(); Paths paths = new Paths();
openApi.setPaths(paths); openApi.setPaths(paths);
String partitionName = "DEFAULT/";
if (page == null || page.equals(PAGE_SYSTEM) || page.equals(PAGE_ALL)) { if (page == null || page.equals(PAGE_SYSTEM) || page.equals(PAGE_ALL)) {
Tag serverTag = new Tag(); Tag serverTag = new Tag();
@ -513,7 +512,7 @@ public class OpenApiInterceptor {
// Search // Search
if (typeRestfulInteractions.contains(CapabilityStatement.TypeRestfulInteraction.SEARCHTYPE)) { if (typeRestfulInteractions.contains(CapabilityStatement.TypeRestfulInteraction.SEARCHTYPE)) {
Operation operation = getPathItem(paths, "/" + partitionName + resourceType, PathItem.HttpMethod.GET); Operation operation = getPathItem(paths, "/" + resourceType, PathItem.HttpMethod.GET);
operation.addTagsItem(resourceType); operation.addTagsItem(resourceType);
operation.setDescription("This is a search type"); operation.setDescription("This is a search type");
operation.setSummary("search-type: Search for " + resourceType + " instances"); operation.setSummary("search-type: Search for " + resourceType + " instances");