You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by xd...@apache.org on 2021/01/07 19:54:22 UTC

[airflow] branch minor-add-missing-response-for-delete-varialbe-api created (now 058359c)

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

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


      at 058359c  Add NotFound Response For "Delete A Variable" in OpenAPI YAML

This branch includes the following new commits:

     new 058359c  Add NotFound Response For "Delete A Variable" in OpenAPI YAML

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[airflow] 01/01: Add NotFound Response For "Delete A Variable" in OpenAPI YAML

Posted by xd...@apache.org.
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 <xd...@apache.org>
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: