Skip to content

Commit

Permalink
Improved other-names swagger example #304
Browse files Browse the repository at this point in the history
  • Loading branch information
mluypaert committed Jul 6, 2020
1 parent ff27bbc commit 35882b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wormbase/specs/gene.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
:description "The CGC name."}))

(s/def :gene/other-names (stc/spec {:spec (s/nilable ::names-coll)
:swagger/example "[\"UNCoordinated-22\", \"Other-name\"]"
:swagger/example ["UNCoordinated-22", "P34358"]
:description "Alternative gene name(s)."}))

(s/def :gene/sequence-name (stc/spec {:spec (s/nilable ::name)
Expand Down

0 comments on commit 35882b3

Please sign in to comment.