{ "openapi": "3.0.0", "info": { "description": "Social Street Smart's News Origin API endpoint", "version": "1.0.0", "title": "Social Street Smart - News Origin", "contact": { "email": "us241077@gmail.com" }, "license": { "name": "GNU General Public License", "url": "http://www.gnu.org/licenses/" } },"servers": [ { "url": "/" } ], "tags": [ { "name": "News Origin API", "description": "Example API for getting the potential News Origin of a text piecce" } ], "paths": { "/pred": { "post": { "tags": [ "News Origin Domains" ], "summary": "Enter the News text and get its potetntial Origin", "requestBody": { "description": "News text, acccepting size: ", "required": true, "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/Text" } } } }, "produces": [ "application/json" ], "responses": { "201": { "description": "OK", "schema": { "$ref": "#/components/schemas/Response" } }, "500": { "description": "Internal Server Error" } } } } }, "components": { "schemas": { "Response": { "type": "object", "properties": { "Result": { "type": "string", "format": "string" } } }, "Text": { "type": "object", "properties": { "text": { "type": "string", "format": "string" } } } } } }