Skip to content

Enhance OpenAPI interface with title, version, and security schema#13841

Open
sirj0k3r wants to merge 1 commit intoinfiniflow:mainfrom
sirj0k3r:docs/auth
Open

Enhance OpenAPI interface with title, version, and security schema#13841
sirj0k3r wants to merge 1 commit intoinfiniflow:mainfrom
sirj0k3r:docs/auth

Conversation

@sirj0k3r
Copy link
Copy Markdown

@sirj0k3r sirj0k3r commented Mar 29, 2026

What problem does this PR solve?

This PR mainly aims to provide the security schema for the endpoints on the SDK API.

It will allow developers to test the API by setting their API key as an header.

For full API testing you might want to consider the work done in #13767 to allow for the requests' schema to be present as an example.

Despite not being its primary objective, this PR also includes the specification for the API's title and version, changing it from the default api.apps to something more specific such as Ragflow API, while keeping the version's value at 0.1.0

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

…eb interface;

+ Added security schema to allow for API testing within endpoints from the SDK API
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. 🐖api The modified files are located under directory 'api/apps/sdk' 💞 feature Feature request, pull request that fullfill a new feature. 📖 documentation Improvements or additions to documentation labels Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐖api The modified files are located under directory 'api/apps/sdk' 📖 documentation Improvements or additions to documentation 💞 feature Feature request, pull request that fullfill a new feature. size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant