Feature/Update API Docs README (#3078)

* Add interactive swagger-ui auto-generated API docs from express

* Update README.md

* Update index.ts //@ts-ignore

* Fix eslint no-console error

* Add swagger paths

* Add all end  points

* Update swagger.yml

* update swagger yml file

* update swagger config

* update swagger response indentation

* update api-docs README

* update README

---------

Co-authored-by: Octavian FlowiseAI <154992625+ocflowiseai@users.noreply.github.com>
This commit is contained in:
Henry Heng
2024-08-25 14:53:59 +01:00
committed by GitHub
parent eb595d2a66
commit d9a2c334a0
10 changed files with 144 additions and 44 deletions
+11 -11
View File
@@ -280,17 +280,17 @@ paths:
schema:
$ref: '#/components/schemas/Assistant'
required: true
responses:
'200':
description: Assistant created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Assistant'
'400':
description: Invalid input provided
'422':
description: Validation exception
responses:
'200':
description: Assistant created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Assistant'
'400':
description: Invalid input provided
'422':
description: Validation exception
get:
tags:
- assistants