{"openapi":"3.0.1","servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/NikAlek/123/1.0.0"},{"url":"http://localhost:8080","description":"Generated server url"}],"paths":{"/api/v1/recognize":{"post":{"tags":["image-recognize-controller"],"operationId":"recognize","requestBody":{"content":{"application/json":{"schema":{"required":["image"],"type":"object","properties":{"coordinates":{"$ref":"#/components/schemas/CoordinatesDTO"},"image":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"успех","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RecognizeResponse"}}}},"206":{"description":"не были предоставлены координаты. В ответе только тип отхода","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RecognizeResponse"}}}},"400":{"description":"неверный тип файла изображения"},"500":{"description":"ошибка сервера"}}}}},"components":{"schemas":{"CoordinatesDTO":{"required":["x","y"],"type":"object","properties":{"x":{"type":"number","format":"float"},"y":{"type":"number","format":"float"}}},"RecognizeResponse":{"required":["type"],"type":"object","properties":{"type":{"type":"string"},"nearestPoint":{"$ref":"#/components/schemas/CoordinatesDTO"}}}}}}