Files
langchain/tests/unit_tests/examples/test_specs/biztoc/apispec.json
T
Yaroslav Halchenko 0d92a7f357 codespell: workflow, config + some (quite a few) typos fixed (#6785)
Probably the most  boring PR to review ;)

Individual commits might be easier to digest

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
2023-07-12 16:20:08 -04:00

36 lines
975 B
JSON

{
"openapi": "3.0.1",
"info": {
"title": "BizToc",
"description": "Get the latest business news articles.",
"version": "v1"
},
"servers": [
{
"url": "https://ai.biztoc.com"
}
],
"paths": {
"/ai/news": {
"get": {
"operationId": "getNews",
"summary": "Retrieves the latest news whose content contains the query string.",
"parameters": [
{
"in": "query",
"name": "query",
"schema": {
"type": "string"
},
"description": "Used to query news articles on their title and body. For example, ?query=apple will return news stories that have 'apple' in their title or body."
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
}
}
}