All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ossuminc.riddl.commands.hugo.writers.RepositoryWriter.scala Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019 Ossum, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

package com.ossuminc.riddl.commands.hugo.writers

import com.ossuminc.riddl.language.AST.{RepositoryContents, Repository, Parents}

trait RepositoryWriter { this: MarkdownWriter =>

  def emitSchema(repository: Repository): Unit = {
    //TODO: Schema writing
  }
  def emitRepository(
    repository: Repository,
    parents: Parents
  ): Unit = {
    containerHead(repository)
    emitDefDoc(repository, parents)
    emitSchema(repository)
    emitProcessorDetails[RepositoryContents](repository, parents)
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy