diff --git a/pyproject.toml b/pyproject.toml index 4bf7619..6623720 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "geneweaver-api" -version = "0.7.0a6" +version = "0.7.0a7" description = "The Geneweaver API" authors = [ "Alexander Berger ", diff --git a/src/geneweaver/api/controller/publications.py b/src/geneweaver/api/controller/publications.py index 3c80ef8..1595093 100644 --- a/src/geneweaver/api/controller/publications.py +++ b/src/geneweaver/api/controller/publications.py @@ -29,15 +29,7 @@ def get_publication( pages: Optional[str] = None, month: Optional[str] = None, year: Optional[str] = None, - pubmed_id: Annotated[ - Optional[int], - Query( - format="int64", - minimum=0, - maxiumum=9223372036854775807, - description=api_message.PUBMED_ID, - ), - ] = None, + pubmed_id: Optional[str] = None, search_text: Annotated[ Optional[str], Query(description=api_message.SEARCH_TEXT) ] = None,