-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom routes #29
Custom routes #29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@benbovy - apologies for the much delayed review here. This all looks great to me. Just one minor comment on the docs.
Thanks for the review @jhamman. I've addressed your comment and I've also updated the tutorial with a couple of examples with custom API endpoints. |
Amazing @benbovy! Thanks so much for the new feature work and for the extensive documentation. Merging now. |
Follow-up #27.
Custom API routers may be plugged in the FastAPI application using the new
routers
argument when calling therest
accessor. This completely overrides the default routers, although it is still possible to reuse the latter ones by importing them fromxpublish.routers
and including them in the given list of routers.TODO: