// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Studio {
    public var createProject: CreateProject {
        CreateProject(path: path + "/create-project")
    }

    public struct CreateProject {
        /// Path: `/api/studio/create-project`
        public let path: String

        /// Create Studio Project
        ///
        /// Create a new Studio project for the current user.
        /// 
        /// Args:
        ///     title: The title of the project
        public func post(title: String) -> Request<GenAPI.StudioProjectMetaSchema> {
            Request(path: path, method: "POST", query: [("title", title)], id: "studio_api_bots_studio_api_create_studio_project")
        }
    }
}
