endpoints.documented.delegate.JsonEntities.scala Maven / Gradle / Ivy
package endpoints
package documented
package delegate
/**
* Interpreter for [[algebra.JsonEntities]] that ignores
* information related to documentation and delegates to another
* [[endpoints.algebra.JsonEntities]] interpreter.
*/
trait JsonEntities
extends algebra.JsonEntities
with Endpoints {
val delegate: endpoints.algebra.JsonEntities
type JsonRequest[A] = delegate.JsonRequest[A]
def jsonRequest[A : JsonRequest](documentation: Option[String]): delegate.RequestEntity[A] = delegate.jsonRequest[A]
type JsonResponse[A] = delegate.JsonResponse[A]
def jsonResponse[A : JsonResponse](documentation: String): delegate.Response[A] = delegate.jsonResponse[A]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy