Kubernetes integration

This commit is contained in:
2022-08-23 19:31:52 +02:00
parent 6604923b26
commit 71a658b91b
37 changed files with 1140 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
openapi: 3.0.3
info:
description: Stadt MG - Drohne
title: Stadt MG - Drohne
version: 1.0.0
servers:
- url: https://drohne.masasana.ai
tags:
- name: Drohne
paths:
/detect:
post:
operationId: detect_post
requestBody:
content:
image/*:
schema:
format: binary
type: string
responses:
"200":
content:
application/json:
schema:
format: uuid
type: string
description: ok
tags:
- Drohne
x-openapi-router-controller: openapi_server.controllers.drohne_controller
/image/{image_id}:
get:
operationId: image_image_id_get
parameters:
- explode: false
in: path
name: image_id
required: true
schema:
format: uuid
type: string
style: simple
responses:
"200":
content:
image/*:
schema:
format: binary
type: string
description: ok
"204":
description: The image is still in processing and no content can be provided
just yet.
"404":
description: This id doesn't exist
tags:
- Drohne
x-openapi-router-controller: openapi_server.controllers.drohne_controller
components:
schemas: {}