Class AbstractMergeUtils

java.lang.Object
com.github.chhorz.openapi.spring.util.AbstractMergeUtils
Direct Known Subclasses:
PathItemUtils

public abstract class AbstractMergeUtils extends Object
Abstract class for merging OpenAPI domain objects.
Author:
chhorz
  • Field Details

    • logUtils

      protected final LogUtils logUtils
  • Constructor Details

    • AbstractMergeUtils

      public AbstractMergeUtils(LogUtils logUtils)
  • Method Details

    • mergeDescription

      protected String mergeDescription(String descriptionOne, String descriptionTwo)
      Merges two description strings
      Parameters:
      descriptionOne - description one
      descriptionTwo - description two
      Returns:
      the combined description String.
    • mergeSummary

      protected String mergeSummary(String summaryOne, String summaryTwo)
      Merges two summary strings
      Parameters:
      summaryOne - summary one
      summaryTwo - summary two
      Returns:
      the combined summary String.