Missing example response at /portfolios/{PID}/history #39

Closed
opened 2026-03-16 21:28:58 +00:00 by fabioth · 3 comments
fabioth commented 2026-03-16 21:28:58 +00:00 (Migrated from gitlab.esvedra.one)
No description provided.
fabioth commented 2026-03-16 21:28:58 +00:00 (Migrated from gitlab.esvedra.one)

assigned to @gertjan

assigned to @gertjan
fabioth commented 2026-03-16 21:29:46 +00:00 (Migrated from gitlab.esvedra.one)

changed title from Missing example respons at /portfolios/{PID}/history to Missing example response at /portfolios/{PID}/history

<p>changed title from <code class="idiff">Missing example respons at /portfolios/{PID}/history</code> to <code class="idiff">Missing example respons<span class="idiff left right addition">e</span> at /portfolios/{PID}/history</code></p>
gertjan (Migrated from gitlab.esvedra.one) closed this issue 2026-03-17 10:44:45 +00:00
gertjan commented 2026-03-17 10:45:57 +00:00 (Migrated from gitlab.esvedra.one)

Fixed 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.

Fixed 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gertjan/bodega#39
No description provided.