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


##########
airflow/api_fastapi/openapi/v1-generated.yaml:
##########
@@ -155,7 +155,7 @@ paths:
         required: false
         schema:
           type: string
-          default: dag_id
+          default: ''

Review Comment:
   I don't really like the introspection / custom code to regenerate the 
defaults spec values. All that seems easy to break and a lot of boilerplate 
code to maintain and extend.
   
   What I had in mind was to find a way to make FastAPI detect the default 
correctly. I'll take a look and see if I can find another approach.



-- 
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