This is an automated email from the ASF dual-hosted git repository.

xddeng pushed a commit to branch 
minor-add-missing-response-for-delete-varialbe-api
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 058359cf84bba23bc92337c3123d23343f44453c
Author: Xiaodong DENG <[email protected]>
AuthorDate: Thu Jan 7 20:54:09 2021 +0100

    Add NotFound Response For "Delete A Variable" in OpenAPI YAML
    
    NotFound (404) is a valid possible response for this route,
    but it was missed in the OpenAPI Doc YAML.
---
 airflow/api_connexion/openapi/v1.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow/api_connexion/openapi/v1.yaml 
b/airflow/api_connexion/openapi/v1.yaml
index 2e90b21..803803b 100644
--- a/airflow/api_connexion/openapi/v1.yaml
+++ b/airflow/api_connexion/openapi/v1.yaml
@@ -1060,6 +1060,8 @@ paths:
           $ref: '#/components/responses/Unauthenticated'
         '403':
           $ref: '#/components/responses/PermissionDenied'
+        '404':
+          $ref: '#/components/responses/NotFound'
 
   /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/xcomEntries:
     parameters:

Reply via email to