You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "vincbeck (via GitHub)" <gi...@apache.org> on 2023/02/09 17:45:34 UTC

[GitHub] [airflow] vincbeck commented on a diff in pull request #29409: Fix Rest API update user output

vincbeck commented on code in PR #29409:
URL: https://github.com/apache/airflow/pull/29409#discussion_r1101825476


##########
airflow/api_connexion/openapi/v1.yaml:
##########
@@ -2288,7 +2288,7 @@ paths:
           content:
             application/json:
               schema:
-                $ref: '#/components/schemas/Role'
+                $ref: '#/components/schemas/User'

Review Comment:
   Done, thanks for the suggestion. Regarding the tests, it seems there are already some tests [here](https://github.com/apache/airflow/blob/main/tests/api_connexion/endpoints/test_user_endpoint.py#L529) but regardless of the schema referenced in `v1.yaml`, it always return the same schema of data (the correct one). Any idea why?



-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org