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.
What I had in mind was more 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]