Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Commit 05a251b

Browse files
committed
Include number formats in swagger spec
Some generated client libraries have trouble deserializing the incoming JSON because they don't know how to map number types. This is especially appearant in the Perl client.
1 parent 7eb59c4 commit 05a251b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

curation-swagger-spec.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ definitions:
310310
description: GL string describing the haplotype
311311
frequency:
312312
type: number
313-
description: frequency
313+
format: double
314+
description: value of frequency
314315
FrequencyErrorList:
315316
type: array
316317
description: List of frequency errors
@@ -326,7 +327,8 @@ definitions:
326327
properties:
327328
value:
328329
type: number
329-
description: label name
330+
format: double
331+
description: value of quality
330332
typeOfQuality:
331333
type: string
332334
description: type of quality
@@ -609,6 +611,8 @@ definitions:
609611
properties:
610612
value:
611613
type: number
614+
format: double
615+
description: value of error
612616
typeOfError:
613617
type: string
614618
description: type of error

0 commit comments

Comments
 (0)