extension_api: Add documentation to context server configuration (#29800)
Release Notes: - N/A
This commit is contained in:
parent
fde621f0e3
commit
e6f6b351b7
2 changed files with 9 additions and 9 deletions
|
@ -1,10 +1,10 @@
|
|||
/// Configuration for a context server.
|
||||
/// Configuration for context server setup and installation.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ContextServerConfiguration {
|
||||
/// Installation instructions for the user.
|
||||
/// Installation instructions in Markdown format.
|
||||
pub installation_instructions: String,
|
||||
/// Default settings for the context server.
|
||||
pub default_settings: String,
|
||||
/// JSON schema describing server settings.
|
||||
/// JSON schema for settings validation.
|
||||
pub settings_schema: serde_json::Value,
|
||||
/// Default settings template.
|
||||
pub default_settings: String,
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
interface context-server {
|
||||
///
|
||||
/// Configuration for context server setup and installation.
|
||||
record context-server-configuration {
|
||||
///
|
||||
/// Installation instructions in Markdown format.
|
||||
installation-instructions: string,
|
||||
///
|
||||
/// JSON schema for settings validation.
|
||||
settings-schema: string,
|
||||
///
|
||||
/// Default settings template.
|
||||
default-settings: string,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue