Skip to content

Commit

Permalink
Add description about study_id path parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
eecavanna committed Dec 1, 2024
1 parent 36981f5 commit 26113e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nmdc_runtime/api/endpoints/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ def find_studies(
response_model_exclude_unset=True,
)
def find_study_by_id(
study_id: str,
study_id: Annotated[str, Path(
title="Study ID",
description="The `id` of the `Study` you want to find.\n\n_Example_: `nmdc:sty-11-abc123`",
examples=["nmdc:sty-11-abc123"]
)],
mdb: MongoDatabase = Depends(get_mongo_db),
):
"""
Expand Down

0 comments on commit 26113e9

Please sign in to comment.