-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Traun Leyden
committed
Jul 7, 2016
1 parent
6ced1aa
commit 55c27a8
Showing
1 changed file
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,16 @@ | |
swagger: '2.0' | ||
info: | ||
version: 1.0.0 | ||
title: OpenOCR API | ||
title: OpenOCR | ||
description: OpenOCR is a wrapper around Tesseract easily deployable as a service | ||
contact: | ||
name: Traun Leyden | ||
email: [email protected] | ||
license: | ||
name: Apache2 License | ||
schemes: | ||
- http | ||
basePath: / | ||
paths: | ||
/ocr: | ||
post: | ||
|
@@ -11,7 +20,7 @@ paths: | |
parameters: | ||
- in: body | ||
name: body | ||
description: order placed for purchasing the pet | ||
description: Pass image url and other info to decode image to text via OCR | ||
required: true | ||
schema: | ||
$ref: "#/definitions/DecodeOCR" | ||
|