Skip to content

Commit

Permalink
Fix Rest API update user output (#29409)
Browse files Browse the repository at this point in the history
* Fix patch user API

* Use UserCollectionItem
  • Loading branch information
vincbeck authored Feb 20, 2023
1 parent 6f9efbd commit 20206e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/api_connexion/openapi/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
$ref: '#/components/schemas/UserCollectionItem'
'400':
$ref: '#/components/responses/BadRequest'
'401':
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/static/js/types/api-generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4479,7 +4479,7 @@ export interface operations {
/** Success. */
200: {
content: {
"application/json": components["schemas"]["Role"];
"application/json": components["schemas"]["UserCollectionItem"];
};
};
400: components["responses"]["BadRequest"];
Expand Down

0 comments on commit 20206e9

Please sign in to comment.