This repository has been archived by the owner on Dec 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from tubone24/openapi
Openapi
- Loading branch information
Showing
69 changed files
with
13,105 additions
and
4,925 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 |
---|---|---|
@@ -0,0 +1,117 @@ | ||
components: | ||
schemas: | ||
ConvertReq: | ||
properties: | ||
contentType: | ||
type: string | ||
uploadId: | ||
type: string | ||
required: | ||
- contentType | ||
- uploadId | ||
type: object | ||
DownloadReq: | ||
properties: | ||
uploadId: | ||
type: string | ||
required: | ||
- uploadId | ||
type: object | ||
HealthCheck: | ||
properties: | ||
status: | ||
type: string | ||
type: object | ||
UploadIdResp: | ||
properties: | ||
release_date: | ||
format: date | ||
type: string | ||
upload_id: | ||
type: string | ||
type: object | ||
UploadImagesReq: | ||
properties: | ||
contentType: | ||
type: string | ||
images: | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- contentType | ||
type: object | ||
info: | ||
contact: | ||
email: tubo.yyyuuu@gmail.com | ||
name: tubone24 | ||
url: https://tubone-project24.xyz | ||
description: Make PDF file taken in some image files such as jpeg, png and gif. | ||
license: | ||
name: MIT | ||
url: https://opensource.org/licenses/MIT | ||
title: Ebook-homebrew | ||
version: 2.0.3 | ||
openapi: 3.0.2 | ||
paths: | ||
/status: | ||
get: | ||
description: Get Status | ||
responses: | ||
'200': | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/HealthCheck' | ||
description: OK | ||
/data/upload: | ||
post: | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/UploadImagesReq' | ||
description: base64 encoded Images in images Array | ||
responses: | ||
'200': | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/UploadIdResp' | ||
description: OK | ||
summary: Base64 encoded Images | ||
/convert/pdf: | ||
post: | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/ConvertReq' | ||
description: Upload Id and ContentType | ||
responses: | ||
'200': | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/UploadIdResp' | ||
description: OK | ||
summary: Upload Id witch get upload images and ContentType | ||
/convert/pdf/download: | ||
post: | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/DownloadReq' | ||
description: Upload Id | ||
responses: | ||
'200': | ||
content: | ||
application/pdf: | ||
schema: | ||
format: binary | ||
type: string | ||
description: OK | ||
'404': | ||
description: FileNotFound | ||
summary: Upload Id witch get upload images |
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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Rest API Reference | ||
================== | ||
|
||
API Reference | ||
|
||
.. openapi:: _static/schema.yml | ||
|
||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 65da6e1ee764ffd87bf57ba2266e1ec3 | ||
config: b9f30851ea6eb7d563c7d22154d7efea | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
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
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
Oops, something went wrong.