Files
qdrant/openapi/openapi.lib.yml
Andrey Vasnetsov f5feff8080 Validated integration tests - #232
* wip: re-implement http tests using openapi validation library

* collection delete api

* payload operations test

* payload delete operations test

* payload index creation and removing test

* uuid operations test

* schema consistency test

* add tests into pipeline

* chmod +x

* faster local runs with docker cache

* upd instruction
2022-02-11 16:43:47 +01:00

43 lines
838 B
YAML

#@ def response(model):
default:
description: error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
4XX:
description: error
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"200":
description: successful operation
content:
application/json:
schema:
type: object
properties:
time:
type: number
format: float
description: Time spent to process this request
status:
type: string
enum: [ "ok" ]
result: #@ model
#@ end
#@ def reference(model_name):
$ref: #@ "#/components/schemas/" + model_name
#@ end
#@ def type(type_name):
type: #@ type_name
#@ end
#@ def array(type_data):
type: array
items: #@ type_data
#@ end