dymelt.rss2discord_3.0.0.6.source-code.Endpoint.scala Maven / Gradle / Ivy
package io.github.windymelt.rss2discord.endpoint
import io.circe.generic.auto._
import sttp.tapir._
import sttp.tapir.generic.auto._
import sttp.tapir.json.circe._
case class WebhookInput(content: String)
object Discord {
val webhook = endpoint.post.in(jsonBody[WebhookInput]).out(emptyOutput)
}