Skip to content

Commit

Permalink
undo: Revert GetRecommendationResponseItem data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
niklas1531 committed Aug 1, 2024
1 parent ab25a2d commit ff84897
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/data/apischema.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,8 @@ class GetRecommendationRequest(BaseModel):
class GetRecommendationResponseItem(Finding):
pass

class GetRecommendationResponseItems(BaseModel):
findings: list[GetRecommendationResponseItem]
aggregated_solutions: list[GetRecommendationResponseItem]

class GetRecommendationResponse(BaseModel):
items: GetRecommendationResponseItems
items: list[GetRecommendationResponseItem]
pagination: Pagination


Expand Down

0 comments on commit ff84897

Please sign in to comment.