openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 2.93 kB
JSON
{"openapi":"3.0.0","info":{"description":"Kmeans clustering by word2vec.<BR />[Endpoint] https://api.apitore.com/api/48","title":"Kmeans clustering by word2vec","version":"0.0.1","x-logo":{"url":"https://apitore.com/img/apis/48.jpg"},"x-origin":[{"format":"swagger","url":"https://api.apitore.com/json/48","version":"2.0"}],"x-providerName":"apitore.com","x-serviceName":"kmeansClusteringByWord2vec"},"tags":[{"description":"Kmeans By Word 2 Vec Controller","name":"kmeans-by-word-2-vec-controller"}],"paths":{"/kmeans-wordvector/cluster":{"post":{"description":"kmeans clustering by word2vec.<BR />Response<BR /> Github: <a href=\"https://github.com/keigohtr/apitore-response-parent/tree/master/clustering-response\">clustering-response</a><BR /> Class: com.apitore.banana.response.clustering.ClusterResponseEntity<BR />","operationId":"clusterUsingPOST","parameters":[{"description":"Access Token","in":"query","name":"access_token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusteringRequestEntity"}}},"description":"Clustering request entity","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterResponseEntity"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Words clustering by word2vec","tags":["kmeans-by-word-2-vec-controller"]}}},"servers":[{"url":"https://api.apitore.com/api/48"}],"components":{"schemas":{"ClusterEntity":{"properties":{"center":{"description":"center","items":{"format":"double","type":"number"},"type":"array"},"words":{"description":"words","items":{"$ref":"#/components/schemas/FactorEntity"},"type":"array"}},"required":["center","words"],"type":"object"},"ClusterResponseEntity":{"properties":{"clusters":{"description":"Clusters","items":{"$ref":"#/components/schemas/ClusterEntity"},"type":"array"},"endTime":{"description":"End date","type":"string"},"log":{"description":"Log message","type":"string"},"num":{"description":"Cluster num","type":"string"},"processTime":{"description":"Process time [millisecond]","type":"string"},"startTime":{"description":"Start date","type":"string"}},"required":["endTime","log","num","processTime","startTime"],"type":"object"},"ClusteringRequestEntity":{"properties":{"iter":{"description":"iter [max 100, default 10]","format":"int32","type":"integer"},"num":{"description":"num [max 100, default 10]","format":"int32","type":"integer"},"words":{"description":"words [max 1000 words]","items":{"type":"string"},"type":"array"}},"required":["words"],"type":"object"},"FactorEntity":{"properties":{"similarity":{"description":"similarity","format":"double","type":"number"},"word":{"description":"word","type":"string"}},"required":["similarity","word"],"type":"object"}}}}