From 65a4a25b3ab73977e19ad60b95597a3071db4154 Mon Sep 17 00:00:00 2001 From: Evgeniy Alekseev Date: Fri, 22 Nov 2019 01:40:52 +0300 Subject: [PATCH] force type number --- .../me/arcanis/ffxivbis/http/api/v1/json/PlayerResponse.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/me/arcanis/ffxivbis/http/api/v1/json/PlayerResponse.scala b/src/main/scala/me/arcanis/ffxivbis/http/api/v1/json/PlayerResponse.scala index 54b2db6..011081b 100644 --- a/src/main/scala/me/arcanis/ffxivbis/http/api/v1/json/PlayerResponse.scala +++ b/src/main/scala/me/arcanis/ffxivbis/http/api/v1/json/PlayerResponse.scala @@ -18,7 +18,7 @@ case class PlayerResponse( @Schema(description = "pieces in best in slot") bis: Option[Seq[PieceResponse]], @Schema(description = "looted pieces") loot: Option[Seq[PieceResponse]], @Schema(description = "link to best in slot", example = "https://ffxiv.ariyala.com/19V5R") link: Option[String], - @Schema(description = "player loot priority") priority: Option[Int]) { + @Schema(description = "player loot priority", `type` = "number") priority: Option[Int]) { def toPlayer: Player = Player(partyId, Job.withName(job), nick, BiS(bis.getOrElse(Seq.empty).map(_.toPiece)), loot.getOrElse(Seq.empty).map(_.toPiece),