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

endpoints.documented.delegate.Assets.scala Maven / Gradle / Ivy

There is a newer version: 0.10.1
Show newest version
package endpoints
package documented
package delegate

/**
  * Interpreter for [[algebra.Assets]] that ignores information related
  * to documentation and delegates to another [[endpoints.algebra.Assets]] interpreter.
  */
trait Assets
  extends algebra.Assets
    with Endpoints {

  val delegate: endpoints.algebra.Assets

  type AssetRequest = delegate.AssetRequest
  type AssetPath = delegate.AssetPath
  type AssetResponse = delegate.AssetResponse

  def assetSegments(name: String): Path[AssetPath] = delegate.assetSegments

  def assetsEndpoint(url: Url[AssetPath], documentation: String, notFoundDocumentation: String): Endpoint[AssetRequest, AssetResponse] =
    delegate.assetsEndpoint(url)

  def digests: Map[String, String] = delegate.digests

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy