Skip to content

Commit 1a35054

Browse files
committed
Updated OpenAPI documentation
1 parent 9e60ab4 commit 1a35054

File tree

3 files changed

+29
-11
lines changed

3 files changed

+29
-11
lines changed

docs/openapi.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,28 +1606,40 @@
16061606
"Lightspeed Stack"
16071607
]
16081608
},
1609-
"version": {
1609+
"service_version": {
16101610
"type": "string",
1611-
"title": "Version",
1611+
"title": "Service Version",
16121612
"description": "Service version",
16131613
"examples": [
16141614
"0.1.0",
16151615
"0.2.0",
16161616
"1.0.0"
16171617
]
1618+
},
1619+
"llama_stack_version": {
1620+
"type": "string",
1621+
"title": "Llama Stack Version",
1622+
"description": "Llama Stack version",
1623+
"examples": [
1624+
"0.2.1",
1625+
"0.2.2",
1626+
"0.2.18"
1627+
]
16181628
}
16191629
},
16201630
"type": "object",
16211631
"required": [
16221632
"name",
1623-
"version"
1633+
"service_version",
1634+
"llama_stack_version"
16241635
],
16251636
"title": "InfoResponse",
1626-
"description": "Model representing a response to an info request.\n\nAttributes:\n name: Service name.\n version: Service version.\n\nExample:\n ```python\n info_response = InfoResponse(\n name=\"Lightspeed Stack\",\n version=\"1.0.0\",\n )\n ```",
1637+
"description": "Model representing a response to an info request.\n\nAttributes:\n name: Service name.\n service_version: Service version.\n llama_stack_version: Llama Stack version.\n\nExample:\n ```python\n info_response = InfoResponse(\n name=\"Lightspeed Stack\",\n service_version=\"1.0.0\",\n llama_stack_version=\"0.2.18\",\n )\n ```",
16271638
"examples": [
16281639
{
1640+
"llama_stack_version": "1.0.0",
16291641
"name": "Lightspeed Stack",
1630-
"version": "1.0.0"
1642+
"service_version": "1.0.0"
16311643
}
16321644
]
16331645
},

docs/openapi.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -882,21 +882,24 @@ Model representing a response to an info request.
882882

883883
Attributes:
884884
name: Service name.
885-
version: Service version.
885+
service_version: Service version.
886+
llama_stack_version: Llama Stack version.
886887

887888
Example:
888889
```python
889890
info_response = InfoResponse(
890891
name="Lightspeed Stack",
891-
version="1.0.0",
892+
service_version="1.0.0",
893+
llama_stack_version="0.2.18",
892894
)
893895
```
894896

895897

896898
| Field | Type | Description |
897899
|-------|------|-------------|
898900
| name | string | Service name |
899-
| version | string | Service version |
901+
| service_version | string | Service version |
902+
| llama_stack_version | string | Llama Stack version |
900903

901904

902905
## JsonPathOperator

docs/output.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -872,21 +872,24 @@ Model representing a response to an info request.
872872

873873
Attributes:
874874
name: Service name.
875-
version: Service version.
875+
service_version: Service version.
876+
llama_stack_version: Llama Stack version.
876877

877878
Example:
878879
```python
879880
info_response = InfoResponse(
880881
name="Lightspeed Stack",
881-
version="1.0.0",
882+
service_version="1.0.0",
883+
llama_stack_version="0.2.18",
882884
)
883885
```
884886

885887

886888
| Field | Type | Description |
887889
|-------|------|-------------|
888890
| name | string | Service name |
889-
| version | string | Service version |
891+
| service_version | string | Service version |
892+
| llama_stack_version | string | Llama Stack version |
890893

891894

892895
## JsonPathOperator

0 commit comments

Comments
 (0)