Skip to content

Commit

Permalink
Merge pull request #489 from NDLANO/audio-sort-enum
Browse files Browse the repository at this point in the history
audio-api: Allow deserialization of `Sort` enum
  • Loading branch information
gunnarvelle authored May 31, 2024
2 parents d621eeb + 603add6 commit 6fa605d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio-api/src/main/scala/no/ndla/audioapi/model/Sort.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import sttp.tapir.codec.enumeratum.*

sealed abstract class Sort(override val entryName: String) extends EnumEntry

object Sort extends Enum[Sort] {
object Sort extends Enum[Sort] with CirceEnum[Sort] {

val values: IndexedSeq[Sort] = findValues

Expand Down

0 comments on commit 6fa605d

Please sign in to comment.