Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions p-ping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/DeviceInfo"
$ref: "#/components/schemas/DeviceInfoDeprecated"

components:
schemas:
DeviceInfo:
DeviceInfoDeprecated:
type: object
properties:
app-name:
Expand Down
20 changes: 16 additions & 4 deletions rt-raw-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,26 @@ components:

DocumentImageResult:
title: "Document Image"
description: "Contains cropped and rotated with perspective compensation image of document.
Single input image can contain multiple document side/pages, which will be returned as separated results.
Most of coordinates in other types defined on that image"
allOf:
- type: object
description: "Contains cropped and rotated with perspective compensation image of document.
Single input image can contain multiple document side/pages, which will be returned as separated results.
Most of coordinates in other types defined on that image"
required:
- RawImageContainer
properties:
RawImageContainer:
$ref: "./common.yml#/components/schemas/ImageData"
$ref: "#/components/schemas/RawImageContainerFieldList"
- $ref: "./rt.yml#/components/schemas/ResultItem"

RawImageContainerFieldList:
title: "RawImageContainerFieldList"
allOf:
- type: object
required:
- format
properties:
format:
description: "Image format"
type: string
- $ref: "./common.yml#/components/schemas/ImageData"
Loading