shubhamraj-git commented on code in PR #47588:
URL: https://github.com/apache/airflow/pull/47588#discussion_r1989831620
##########
airflow/api_fastapi/core_api/datamodels/connections.py:
##########
@@ -75,6 +77,52 @@ class ConnectionTestResponse(BaseModel):
message: str
+class HookFieldBehavior(BaseModel):
Review Comment:
Maybe adding a `Connection` Prefix would be good
##########
airflow/api_fastapi/core_api/routes/public/connections.py:
##########
@@ -254,3 +255,17 @@ def create_default_connections(
):
"""Create default connections."""
db_create_default_connections(session)
+
+
+@connections_router.get(
Review Comment:
If this is a UI specific endpoint, we should move it under UI rather than
keeping it in public.
`airflow/api_fastapi/core_api/routes/ui/connections.py`
--
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]