Why Schema Generators check for permission? #7769
Unanswered
bedilbek
asked this question in
Question & Answer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While developing an api docs with openapi I was curious about one point in the process of schema generation.
Why do we need
has_view_permissions
method inBaseSchemaGenerator
and what if this check is removed from OpenAPI schema generation? I could not understand the logic behind it, because at the end of the day it is just documentation generation which does not need to care about view permissions.I understand that I may be missing some crucial point, so would be nice if anyone could shed the light upon this matter
Beta Was this translation helpful? Give feedback.
All reactions