Skip to content

Feature: interactive swagger-ui auto-generated API docs from express #1812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Aug 25, 2024

Conversation

ocflowiseai
Copy link
Contributor

@ocflowiseai ocflowiseai commented Feb 25, 2024

This module serves auto-generated swagger-ui API docs from express, based on a swagger.yml file.

This module works only when running Flowise in dev mode with yarn dev command either from root folder either from packages/api-documentation folder.

The result is interactive swagger documentation for Flowise API served via http://localhost:6655/api-docs route.

image

Methods to be added as described here - https://editor.swagger.io/

@ocflowiseai ocflowiseai self-assigned this Feb 25, 2024
@ocflowiseai ocflowiseai changed the title Add interactive swagger-ui auto-generated API docs from express Feature: interactive swagger-ui auto-generated API docs from express Feb 25, 2024
@ocflowiseai ocflowiseai added the documentation Improvements or additions to documentation label Feb 25, 2024
@ocflowiseai ocflowiseai force-pushed the feature/swagger-api-interactive-documentation branch from 291b394 to 3fbbc6c Compare March 12, 2024 01:42
@HenryHengZJ
Copy link
Contributor

screencapture-localhost-6655-api-docs-2024-08-25-13_16_37-ezgif com-crop

@HenryHengZJ HenryHengZJ merged commit e8f5f07 into main Aug 25, 2024
2 checks passed
patrickreinan pushed a commit to patrickreinan/Flowise that referenced this pull request Sep 3, 2024
…lowiseAI#1812)

* 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

---------

Co-authored-by: Henry <[email protected]>
patrickreinan pushed a commit to patrickreinan/Flowise that referenced this pull request Sep 3, 2024
…lowiseAI#1812)

* 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

---------

Co-authored-by: Henry <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants