UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 2.36 kB
{"openapi":"3.0.0","info":{"description":"Text to label by tfidf of contents.<BR />[Endpoint] https://api.apitore.com/api/18","title":"Text2Label by tfidf APIs","version":"0.0.1","x-logo":{"url":"https://apitore.com/img/apis/18.jpg"},"x-origin":[{"format":"swagger","url":"https://api.apitore.com/json/18","version":"2.0"}],"x-providerName":"apitore.com","x-serviceName":"text2labelByTfidfApis"},"tags":[{"description":"Text 2 Label By Tfidf Controller","name":"text-2-label-by-tfidf-controller"}],"paths":{"/text2label-tfidf/get":{"get":{"description":"Text2Label by tfidf.<BR />Response<BR />&nbsp; Github: <a href=\"https://github.com/keigohtr/apitore-response-parent/tree/master/summarize-response\">summarize-response</a><BR />&nbsp; Class: com.apitore.banana.response.summarize.LabelResponseEntity<BR />","operationId":"getUsingGET_1","parameters":[{"description":"Access Token","in":"query","name":"access_token","required":true,"schema":{"type":"string"}},{"description":"text","in":"query","name":"text","required":true,"schema":{"type":"string"}},{"description":"num [max 10, default 1]","in":"query","name":"num","required":false,"schema":{"type":"integer","format":"int32","default":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelResponseEntity"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get labels from text","tags":["text-2-label-by-tfidf-controller"]}}},"servers":[{"url":"https://api.apitore.com/api/18"}],"components":{"schemas":{"LabelEntity":{"properties":{"label":{"description":"label","type":"string"},"score":{"description":"tfidf score","format":"double","type":"number"}},"required":["label","score"],"type":"object"},"LabelResponseEntity":{"properties":{"endTime":{"description":"End date","type":"string"},"input":{"description":"Input word","type":"string"},"labels":{"description":"Distances","items":{"$ref":"#/components/schemas/LabelEntity"},"type":"array"},"log":{"description":"Log message","type":"string"},"num":{"description":"Input num","type":"string"},"processTime":{"description":"Process time [millisecond]","type":"string"},"startTime":{"description":"Start date","type":"string"}},"required":["endTime","input","log","num","processTime","startTime"],"type":"object"}}}}