// SPDX-FileCopyrightText: Politik im Blick developers
// SPDX-FileCopyrightText: Wolfgang Silbermayr <wolfgang@silbermayr.at>
//
// SPDX-License-Identifier: AGPL-3.0-or-later OR EUPL-1.2

use serde::{Deserialize, Serialize};

use crate::config::{oidc::OidcConfig, oparl::OParlConfig};

#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct ResponseBody {
    pub oidc: OidcConfig,

    #[serde(skip_serializing_if = "Option::is_none")]
    pub oparl: Option<OParlConfig>,
}
