initial commit
This commit is contained in:
commit
88c14b627e
224 files changed
+17204
No files matched your search
@@ -0,0 +1,64 @@
|
||||
openapi: 3.2.0
|
||||
info:
|
||||
title: Lincodex ML Operational API
|
||||
version: 0.1.0
|
||||
servers:
|
||||
- url: /
|
||||
paths:
|
||||
/healthz:
|
||||
get:
|
||||
operationId: GetMLHealthz
|
||||
summary: Check whether the ML process is responding.
|
||||
security: []
|
||||
tags:
|
||||
- health
|
||||
responses:
|
||||
'200':
|
||||
description: The ML process is responding.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/MLHealthResponse'
|
||||
/readyz:
|
||||
get:
|
||||
operationId: GetMLReadyz
|
||||
summary: Check whether an inference runtime is available.
|
||||
security: []
|
||||
tags:
|
||||
- health
|
||||
responses:
|
||||
'200':
|
||||
description: An inference runtime is available.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/MLReadinessResponse'
|
||||
'503':
|
||||
description: No inference runtime is available.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/MLReadinessResponse'
|
||||
components:
|
||||
schemas:
|
||||
MLHealthResponse:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- status
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
enum:
|
||||
- ok
|
||||
MLReadinessResponse:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- status
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
enum:
|
||||
- ready
|
||||
- not_ready
|
||||
Reference in new issue
Block a user