code: private void buildOperation(MarkupDocBuilder markupDocBuilder, PathOperation operation, Swagger2MarkupConfig config) {
          if (config.isSeparatedOperationsEnabled()) {
              MarkupDocBuilder pathDocBuilder = copyMarkupDocBuilder(markupDocBuilder);
              applyPathOperationComponent(pathDocBuilder, operation);
              java.nio.file.Path operationFile = context.getOutputPath().resolve(operationDocumentNameResolver.apply(operation));
              pathDocBuilder.writeToFileWithoutExtension(operationFile, StandardCharsets.UTF_8);
              if (logger.isDebugEnabled()) {
                  logger.debug("Separate operation file produced : '{}'", operationFile);
              }
              buildOperationRef(markupDocBuilder, operation);
  
          } else {
              applyPathOperationComponent(markupDocBuilder, operation);
          }
  
          if (logger.isDebugEnabled()) {
              logger.debug("Operation processed : '{}' (normalized id = '{}')", operation, normalizeName(operation.getId()));
          }
      }
docs: Builds a path operation depending on generation mode.
  
  @param operation operation