Skip to content
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

feat: docs for api endpoints to generate openapi specification #3109

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

hornikmatej
Copy link
Contributor

@hornikmatej hornikmatej commented Oct 30, 2024

What problem does this PR solve?

Added openapi specification for API routes. This creates swagger UI similar to FastAPI to better use the API.
Using python package flasgger

Type of change

  • New Feature (non-breaking change which adds functionality)

Not all routes are included since this is a work in progress.

Docs can be accessed on: {host}:{port}/apidocs

@KevinHuSh
Copy link
Collaborator

Appreciate your contribution.
There's conflicts, please resolve them.

@KevinHuSh KevinHuSh added the ci Continue Integration label Nov 4, 2024
@KevinHuSh KevinHuSh merged commit dd1146e into infiniflow:main Nov 4, 2024
2 of 3 checks passed
@hornikmatej hornikmatej deleted the swagger-ui branch November 11, 2024 11:50
@hornikmatej hornikmatej restored the swagger-ui branch November 11, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continue Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants