com.ossuminc.riddl.hugo.writers.RepositoryWriter.scala Maven / Gradle / Ivy
package com.ossuminc.riddl.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)
}
}