Update Search operation description (#2892)

This commit is contained in:
akawalsky 2021-08-16 09:28:19 -07:00 committed by GitHub
parent 4920f0a15d
commit c8c0e1080c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -509,7 +509,7 @@ public class OpenApiInterceptor {
Operation operation = getPathItem(paths, "/" + resourceType, PathItem.HttpMethod.GET);
operation.addTagsItem(resourceType);
operation.setDescription("This is a search type");
operation.setSummary("search-type: Update an existing " + resourceType + " instance, or create using a client-assigned ID");
operation.setSummary("search-type: Search for " + resourceType + " instances");
addFhirResourceResponse(ctx, openApi, operation, null);
for (CapabilityStatement.CapabilityStatementRestResourceSearchParamComponent nextSearchParam : nextResource.getSearchParam()) {