openai-struct 0.0.4

利用openai的openapi生成的rust结构体
Documentation
/*
 * OpenAI API
 *
 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
 *
 * OpenAPI spec pub version: 2.3.0
 *
 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
 */

/// pub FunctionParameters : The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](pub https:///json-schema.org/understanding-json-schema/) for documentation about the format.   Omitting `parameters` defines a function with an empty parameter list.

#[allow(unused_imports)]
use serde_json::Value;

/// # on openapi.yaml
///
/// ```yaml
/// FunctionParameters:
///   type: object
///   description: >-
///     The parameters the functions accepts, described as a JSON Schema object.
///     See the [guide](/docs/guides/function-calling) for examples, and the
///     [JSON Schema reference](https:///json-schema.org/understanding-json-schema/) for
///     documentation about the format.
///
///
///     Omitting `parameters` defines a function with an empty parameter list.
///   additionalProperties: true
/// ```
pub type FunctionParameters = serde_json::Value;