Skip to content

Commit

Permalink
Swapped "Null" for null in sample_site enum, removed type declarati…
Browse files Browse the repository at this point in the history
…on (per json-schema-org/json-schema-spec#258 (comment) ) because connexion apparently does not accept mixed types? (`type: [string, null]` and `type: ["string", "null"]` both rejected).
  • Loading branch information
AmandaBirmingham committed Jan 10, 2020
1 parent 6d0825e commit 7424eec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions microsetta_private_api/api/microsetta_private_api.yaml
Expand Up @@ -950,9 +950,8 @@ components:
type: string
example: "Oops, I dropped it"
sample_site:
type: string
enum: ["Ear wax", "Forehead", "Fur", "Hair", "Left hand", "Left leg", "Mouth", "Nares", "Nasal mucus",
"Right hand", "Right leg", "Stool", "Tears", "Torso", "Vaginal mucus", "Null"]
"Right hand", "Right leg", "Stool", "Tears", "Torso", "Vaginal mucus", null]
example: "Stool"
sample_locked:
type: boolean
Expand Down

0 comments on commit 7424eec

Please sign in to comment.