windmill-api 1.684.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.684.1
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DiscoverMcpOAuthRequest {
    /// URL of the MCP server to discover OAuth metadata from
    #[serde(rename = "mcp_server_url")]
    pub mcp_server_url: String,
}

impl DiscoverMcpOAuthRequest {
    pub fn new(mcp_server_url: String) -> DiscoverMcpOAuthRequest {
        DiscoverMcpOAuthRequest {
            mcp_server_url,
        }
    }
}