mirror of
https://github.com/EddieTheCubeHead/Stagnum.git
synced 2026-04-27 06:35:57 +03:00
[GH-ISSUE #57] Get rid of ConnectionManager __init__ arguments in OpenAPI documentation #45
Labels
No labels
bug
bug
client
design
documentation
feature
feature
infrastructure
pull-request
ready for development
server
server
spike
technical work
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Stagnum#45
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?
Originally created by @EddieTheCubeHead on GitHub (Feb 5, 2024).
Original GitHub issue: https://github.com/EddieTheCubeHead/Stagnum/issues/57
Due to how FastAPI dependency doc generation works, ConnectionManager init function arguments are rendered in our auto-generated OpenAPI documentation. Get rid of them.
Idea: take a dependency that gives the values, keep mocking as is.
No need to follow the idea if better ones are uncovered.
Acceptance criteria: no functional changes, test set passes. The db_address and echo arguments are not visible in OpenAPI documentation.