Skip to content

Commit

Permalink
WIP Add descriptions for model comparison endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Jul 7, 2023
1 parent 0a03093 commit cb62565
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions mira/dkg/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,11 @@ class ModelComparisonResponse(BaseModel):

@model_blueprint.post("/model_comparison",
response_model=ModelComparisonResponse,
tags=["modeling"])
tags=["modeling"],
description="This endpoint consumes a list of "
"template model JSON objects and returns "
"similarity scores and the data comparing "
"the models")
def model_comparison(
request: Request,
query: ModelComparisonQuery
Expand Down Expand Up @@ -545,7 +549,10 @@ class AMRComparisonQuery(BaseModel):
@model_blueprint.post("/askenet_model_comparison",
response_model=ModelComparisonResponse,
tags=["modeling"],
description="")
description="This endpoint consumes a list of askenet "
"petrinet JSON objects and returns "
"similarity scores and the data comparing "
"the models")
def askepetrinet_model_comparison(
request: Request,
query: AMRComparisonQuery
Expand Down

0 comments on commit cb62565

Please sign in to comment.