Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specs/lichess-api.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: "3.1.0"
info:
version: 2.0.133
version: 2.0.134
title: Lichess.org API reference
contact:
name: "Lichess.org API"
Expand Down
2 changes: 2 additions & 0 deletions specs/schemas/PuzzleAndGame.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ properties:
type: integer
rating:
type: integer
fen:
type: string
solution:
type: array
items:
Expand Down
1 change: 1 addition & 0 deletions src/schemas/PuzzleAndGame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const PuzzleAndGame = z.object({
initialPly: z.int(),
plays: z.int(),
rating: z.int(),
fen: z.optional(z.string()),
solution: z.array(z.string()),
themes: z.array(z.string()),
}),
Expand Down