-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Ignore derivations of BrowsableAPIRenderer in OpenAPI schema #7497
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
Ignore derivations of BrowsableAPIRenderer in OpenAPI schema #7497
Conversation
Duplicate of #7477 no? |
@carltongibson Well, sure, this PR implements a fix for #7477. |
Doh, yes super. I thought that was a PR looking earlier. Did you see the comment there about the test? |
Just to quote the comment there, since this PR should have added tests to ensure we don't have a regression in the future. From #7477 (comment)
|
2289b3b
to
456e71a
Compare
@carltongibson Sorry for the delay. Rebased and fleshed out the test :) |
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.
Super. Thanks @akx. Looks good to me. 👍
Of course isort failed. Let's see if 5a9c6c5 fixes it. |
…7497) * Ignore derivations of BrowsableAPIRenderer in OpenAPI schema * Improve test_renderer_mapping test Co-authored-by: Carlton Gibson <[email protected]>
Description
If the BrowsableAPIRenderer has been subclassed, it wouldn't be correctly ignored by the OpenAPI Schema generator.
Fixes #7477