Skip to content

Commit

Permalink
Added other-names to swagger gene/{id}/ API docs #304
Browse files Browse the repository at this point in the history
  • Loading branch information
mluypaert committed Jul 6, 2020
1 parent 35882b3 commit 529fb3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/wormbase/specs/gene.clj
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@
:gene/sequence-name
:gene/species]
:opt-un [:gene/cgc-name
:gene/other-names
:gene/status]))))

(s/def ::uncloned (stc/spec
(stc/merge
(s/keys :req-un [:gene/cgc-name]
:opt-un [:gene/species
:opt-un [:gene/other-names
:gene/species
:gene/status]))))

(s/def ::new (stc/spec {:spec (s/and seq
Expand Down

0 comments on commit 529fb3a

Please sign in to comment.