-
Notifications
You must be signed in to change notification settings - Fork 70
LCORE-1224: up-to-date OpenAPI documentation after Splunk patch was merged #1052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3425,6 +3425,11 @@ If any provider reports an error status, responds with HTTP 503 | |||||||||||||||||||
| and details of unhealthy providers; otherwise, indicates the | ||||||||||||||||||||
| service is ready. | ||||||||||||||||||||
|
|
||||||||||||||||||||
| Returns: | ||||||||||||||||||||
| ReadinessResponse: Object with `ready` indicating overall readiness, | ||||||||||||||||||||
| `reason` explaining the outcome, and `providers` containing the list of | ||||||||||||||||||||
| unhealthy ProviderHealthStatus entries (empty when ready). | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
@@ -3643,6 +3648,10 @@ Initializes model metrics on the first request if not already | |||||||||||||||||||
| set up, then responds with the current metrics snapshot in | ||||||||||||||||||||
| Prometheus format. | ||||||||||||||||||||
|
|
||||||||||||||||||||
| Returns: | ||||||||||||||||||||
| PlainTextResponse: Response body containing the Prometheus metrics text | ||||||||||||||||||||
| and the Prometheus content type. | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
@@ -4239,6 +4248,8 @@ Global service configuration. | |||||||||||||||||||
| | a2a_state | | Configuration for A2A protocol persistent state storage. | | ||||||||||||||||||||
| | quota_handlers | | Quota handlers configuration | | ||||||||||||||||||||
| | azure_entra_id | | | | ||||||||||||||||||||
| | splunk | | Splunk HEC configuration for sending telemetry events. | | ||||||||||||||||||||
| | deployment_environment | string | Deployment environment name (e.g., 'development', 'staging', 'production'). Used in telemetry events. | | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
| ## ConfigurationResponse | ||||||||||||||||||||
|
|
@@ -5524,6 +5535,32 @@ Model representing a response to shields request. | |||||||||||||||||||
| | shields | array | List of shields available | | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
| ## SplunkConfiguration | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
| Splunk HEC (HTTP Event Collector) configuration. | ||||||||||||||||||||
|
|
||||||||||||||||||||
| Splunk HEC allows sending events directly to Splunk over HTTP/HTTPS. | ||||||||||||||||||||
| This configuration is used to send telemetry events for inference | ||||||||||||||||||||
| requests to the corporate Splunk deployment. | ||||||||||||||||||||
|
|
||||||||||||||||||||
| Useful resources: | ||||||||||||||||||||
|
|
||||||||||||||||||||
| - [Splunk HEC Docs](https://docs.splunk.com/Documentation/SplunkCloud) | ||||||||||||||||||||
| - [About HEC](https://docs.splunk.com/Documentation/Splunk/latest/Data) | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
Comment on lines
+5547
to
+5551
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix unordered list indentation in SplunkConfiguration resources. Markdownlint MD007 flags the list indentation. Align the list indentation to column 0. 🧹 Suggested formatting tweak- - [Splunk HEC Docs](https://docs.splunk.com/Documentation/SplunkCloud)
- - [About HEC](https://docs.splunk.com/Documentation/Splunk/latest/Data)
+- [Splunk HEC Docs](https://docs.splunk.com/Documentation/SplunkCloud)
+- [About HEC](https://docs.splunk.com/Documentation/Splunk/latest/Data)📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.18.1)5549-5549: Unordered list indentation (MD007, ul-indent) 5550-5550: Unordered list indentation (MD007, ul-indent) 🤖 Prompt for AI Agents |
||||||||||||||||||||
|
|
||||||||||||||||||||
| | Field | Type | Description | | ||||||||||||||||||||
| |-------|------|-------------| | ||||||||||||||||||||
| | enabled | boolean | Enable or disable Splunk HEC integration. | | ||||||||||||||||||||
| | url | | Splunk HEC endpoint URL. | | ||||||||||||||||||||
| | token_path | | Path to file containing the Splunk HEC authentication token. | | ||||||||||||||||||||
| | index | | Target Splunk index for events. | | ||||||||||||||||||||
| | source | string | Event source identifier. | | ||||||||||||||||||||
| | timeout | integer | HTTP timeout in seconds for HEC requests. | | ||||||||||||||||||||
| | verify_ssl | boolean | Whether to verify SSL certificates for HEC endpoint. | | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
| ## StatusResponse | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: lightspeed-core/lightspeed-stack
Length of output: 156
🏁 Script executed:
Repository: lightspeed-core/lightspeed-stack
Length of output: 870
Add
PlainTextResponseschema definition to components section.PlainTextResponseis referenced at line 3652 but is not defined as a schema component anywhere indocs/openapi.md. Add a schema entry under Components forPlainTextResponsewith properties for the response body and content type.🤖 Prompt for AI Agents