Spaces:
Configuration error
Configuration error
Add OpenAPI stub
Browse files
openapi/financialfilings.openapi.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"openapi": "3.1.0",
|
| 3 |
+
"info": { "title": "FinancialFilings API", "version": "0.1.0" },
|
| 4 |
+
"servers": [ { "url": "https://api.financialreports.eu" } ],
|
| 5 |
+
"paths": {
|
| 6 |
+
"/filings/": {
|
| 7 |
+
"get": {
|
| 8 |
+
"operationId": "listFilings",
|
| 9 |
+
"parameters": [
|
| 10 |
+
{ "name": "company", "in": "query", "schema": { "type": "string" } },
|
| 11 |
+
{ "name": "source", "in": "query", "schema": { "type": "string" } },
|
| 12 |
+
{ "name": "type", "in": "query", "schema": { "type": "string" } },
|
| 13 |
+
{ "name": "search", "in": "query", "schema": { "type": "string" } },
|
| 14 |
+
{ "name": "page", "in": "query", "schema": { "type": "integer" } },
|
| 15 |
+
{ "name": "page_size", "in": "query", "schema": { "type": "integer" } }
|
| 16 |
+
],
|
| 17 |
+
"responses": { "200": { "description": "List of filings" } }
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"/companies/{id}/": {
|
| 21 |
+
"get": { "operationId": "getCompany", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Company detail" } } }
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|