Missing example response at /portfolios/{PID}/history #39
Labels
No labels
bug
documentation
duplicate
enhancement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gertjan/bodega#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
assigned to @gertjan
changed title from
Missing example respons at /portfolios/{PID}/historytoMissing example response at /portfolios/{PID}/historyFixed in commit
1a14e8a. Added json_schema_extra with example responses to the PortfolioHistoryPoint and PortfolioHistoryResponse models, and updated the endpoint to use the proper response_model parameter instead of dict. The endpoint now shows the correct schema and example responses in the Swagger docs.