durgaprasadml commented on issue #10937: URL: https://github.com/apache/airflow/issues/10937#issuecomment-4555443745
Hi! I’ve been exploring the FastAPI permission system and the documentation pipeline in Airflow. My current approach is to: - introspect FastAPI APIRoute dependencies for /api/v2/* - extract permission metadata from requires_access_* dependency functions - generate an auto-generated RST reference page for endpoint permissions - integrate generation through a prek script similar to generate_openapi_spec At the moment I’m leaning toward generating a standalone RST page instead of modifying the OpenAPI YAML directly, since it keeps the implementation smaller and avoids adding additional noise to the generated spec. I’m also exploring whether attaching structured permission metadata directly in security.py would be cleaner and more maintainable than relying purely on introspection. I’d appreciate any feedback before I start implementing the extractor and doc generation flow. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
