Would be good to remove the 'id' of both User and Role schemas from what is dumped in REST API endpoints. ID of User and Role table are sensitive data that would be fine to hide from the endpoints

tests/api_connexion/schemas/test_user_schema.py
#
#
import pytest
from flask_appbuilder.security.sqla.models import User
from airflow.api_connexion.schemas.user_schema import user_collection_item_schema, user_schema
from airflow.utils import timezone
from tests.test_utils.api_connexion_utils import create_role, delete_role
TEST_EMAIL = "test@example.org"
DEFAULT_TIME = "2021-01-09T13:59:56.336000+00:00"
@pytest.fixture(scope="module")
def configured_app(minimal_app_for_api):
    app = minimal_app_for_api
    create_role(
        app,
        name="TestRole",
        permissions=[],
    )
    yield app
    delete_role(app, 'TestRole')  
class TestUserBase: