com.worxbend.codeberg4s.issues.wire.IssueSubscriptionDto
See theIssueSubscriptionDto companion object
final case class IssueSubscriptionDto(subscribed: Option[Boolean], ignored: Option[Boolean], url: Option[String], repositoryUrl: Option[String], createdAt: Option[String])
Forgejo's WatchInfo model as the issue-subscription check returns it.
'''Derived from spec/swagger.v1.json, not from a captured response''': the endpoint answers about the authenticated account and the harvest was anonymous. Five of the model's six declared properties are represented.
The sixth, reason, is '''not decodable''': the spec gives that property an x-go-name and no type, $ref, format or enum at all, so there is nothing to read it as. com.worxbend.codeberg4s.codec.JsonFields ignores a key the DTO does not name, so a payload carrying it still decodes; inventing a type for it would be a guess.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article