pierrejeambrun commented on code in PR #51264: URL: https://github.com/apache/airflow/pull/51264#discussion_r2164051515
########## airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml: ########## @@ -3140,6 +3148,104 @@ paths: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' + /api/v2/dags/{dag_id}/favorite: + post: + tags: + - DAG + summary: Favorite Dag + description: Mark the DAG as favorite. + operationId: favorite_dag + security: + - OAuth2PasswordBearer: [] + parameters: + - name: dag_id + in: path + required: true + schema: + type: string + title: Dag Id + responses: + '200': + description: Successful Response + content: + application/json: + schema: {} Review Comment: Spec is wrong that should be `204` (but if you follow how we do it for 204 no response, this will be corrected) -- 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