private void buildTags(io.swagger.v3.oas.annotations.Operation apiOperation, Operation operation) {
		Optional<List<String>> mlist = getStringListFromStringArray(apiOperation.tags());
		if (mlist.isPresent()) {
			List<String> tags = mlist.get().stream()
					.filter(t -> operation.getTags() == null
							|| (operation.getTags() != null && !operation.getTags().contains(t)))
					.toList();
			tags.forEach(operation::addTagsItem);
		}
	}
Build tags.

@param apiOperation the api operation
@param operation    the operation
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/OperationService.java