pierrejeambrun commented on code in PR #42834:
URL: https://github.com/apache/airflow/pull/42834#discussion_r1793064275


##########
airflow/api_fastapi/openapi/v1-generated.yaml:
##########
@@ -1037,3 +1081,25 @@ components:
       - msg
       - type
       title: ValidationError
+    VariableResponse:
+      properties:
+        key:

Review Comment:
   Yes because it would mean adapting the response to each endpoint and request 
depending on the query params and path param to substract them from the 
response. That would be a lot of extra work, and the returned schema would 
dynamically change, that would be hard for the client to know what is the 
actual 'body' schema for that specific request.
   
   So usually we don't bother with this even if the data is indeed duplicated.



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to