Skip to content

Commit

Permalink
fix: response model casing
Browse files Browse the repository at this point in the history
  • Loading branch information
katiestahl committed Jul 30, 2024
1 parent 17beba5 commit 0f390da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/src/curfu/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class NormalizeGeneResponse(Response):
"""Response model for gene normalization endpoint."""

term: StrictStr
conceptId: StrictStr | None
concept_id: StrictStr | None
symbol: StrictStr | None
cased: StrictStr | None

Expand Down Expand Up @@ -169,7 +169,7 @@ class GetDomainResponse(Response):
class AssociatedDomainResponse(Response):
"""Response model for domain ID autocomplete suggestion endpoint."""

geneId: StrictStr
gene_id: StrictStr
suggestions: list[DomainParams] | None


Expand Down Expand Up @@ -214,8 +214,8 @@ class SequenceIDResponse(Response):
"""Response model for sequence ID retrieval endpoint."""

sequence: StrictStr
refseqId: StrictStr | None
ga4ghId: StrictStr | None
refseq_id: StrictStr | None
ga4gh_id: StrictStr | None
aliases: list[StrictStr] | None


Expand Down Expand Up @@ -297,7 +297,7 @@ class NomenclatureResponse(Response):
class RegulatoryElementResponse(Response):
"""Response model for regulatory element constructor."""

regulatoryElement: RegulatoryElement
regulatory_element: RegulatoryElement


class DemoResponse(Response):
Expand Down

0 comments on commit 0f390da

Please sign in to comment.