-
Notifications
You must be signed in to change notification settings - Fork 225
feat: Add AsyncAPI HTTP Support #2142
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
base: main
Are you sure you want to change the base?
Conversation
Hi @Lancetnik can you review please? |
@tmulligan98 sorry, missed this one! I definitely check check soon |
Done 😃 |
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.
Sorry for waiting so long
Great job! Really appreciate the help. But, I think, we should make some more extensive changes – migrate ASGI functions to classes to incapsulate some logic to them and make them able to store metainforamation
Also, we should polish the types to remove all mypy ignores (if it is possilbe)
docs/docs/en/release.md
Outdated
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.
Please, remove this file changes
Not sure. Looks enough for me. |
for route in app.routes: | ||
path, asgi_app = route | ||
|
||
if asgi_app.include_in_schema: |
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.
We should check is this object a GetHandler instance. User could be able to add own ASGI handler to router
Well, thank you! I think, it is good enough. I want to polish some things by myself and then we can merge the PR |
Description
Add support for an
include_in_schema
parameter to register HTTP routes in the app schemaTODO: Should
include_in_schema
beTrue
by default?Fixes #2091
Type of change
Please delete options that are not relevant.
Checklist
scripts/lint.sh
shows no errors)scripts/test-cov.sh
scripts/static-analysis.sh