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

[Feature]: Reintroduce Swagger API docs #738

Closed
zolrath opened this issue May 3, 2023 · 3 comments
Closed

[Feature]: Reintroduce Swagger API docs #738

zolrath opened this issue May 3, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@zolrath
Copy link

zolrath commented May 3, 2023

Feature description

The previous /docs endpoint allowed users to view, experiment, and understand what options were available via the API.
This was generally applicable and allowed anyone to integrate this repo into their project, regardless of language.

The gradio docs now available at ?view=api simply show a list of gradio_client functions that can be called, limiting its usefulness to only users of gradio_client.

It would be great for the swagger API docs to return!

Version Platform Description

May 3, 2023 - 5d8c787

@zolrath zolrath added the enhancement New feature or request label May 3, 2023
@vladmandic
Copy link
Owner

vladmandic commented May 3, 2023

oh, i totally agree (more than totally, i cant stand the new interface), but its really up to gradio - request should go there.
its really nothing i can do about it and i cannot downgrade to old gradio because there are too many required fixes included.

for reference: https://github.com/gradio-app/gradio
if you create feature request there, let me know and i'll add my thoughts to it as well.

@zolrath
Copy link
Author

zolrath commented May 3, 2023

This was generally applicable and allowed anyone to integrate this repo into their project, regardless of language.

The gradio docs now available at ?view=api simply show a list of gradio_client functions that can be called, limiting its usefulness to only users of gradio_client.

I've made a simple Feature Request here: gradio-app/gradio#4054

@vladmandic
Copy link
Owner

i've implemented monkey-patch as suggested by gradio theme, docs are available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants