Skip to content

Commit

Permalink
add doc of GET /v1/version (#44)
Browse files Browse the repository at this point in the history
Signed-off-by: cbh778899 <[email protected]>
  • Loading branch information
cbh778899 authored Aug 12, 2024
1 parent 800a2a1 commit dcb5c00
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
{
"name": "Token",
"description": "v1 Token APIs"
},
{
"name": "Version",
"description": "v1 Version APIs"
}
],
"paths": {
Expand Down Expand Up @@ -343,6 +347,30 @@
}
}
}
},
"/v1/version": {
"get": {
"summary": "Get engine versions",
"description": "Get version of various engines used by this project",
"tags": ["Version"],
"responses": {
"200": {
"description": "Get a json of versions",
"content": {
"application/json": {
"schema": {
"properties": {
"inference_engine_version": {
"type": "string",
"examples": ["server--b1-2321a5e"]
}
}
}
}
}
}
}
}
}
},
"components": {
Expand Down

0 comments on commit dcb5c00

Please sign in to comment.