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

Add option to read openapi schemas #88

Open
ondrej-ivanko opened this issue Jul 24, 2024 · 3 comments
Open

Add option to read openapi schemas #88

ondrej-ivanko opened this issue Jul 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ondrej-ivanko
Copy link

Hi,

I was trying yours and openapi-tui and I was surprised that there is no option to read autogenerated or static openapi schema in your tool.

I'm using fastapi, which generates schema dynamically on API start and which is accessible on localhost:port/openapi.json. I would like to have option to read this schema and have it loaded under default collection name.

Later the collection can be renamed according the users needs. I think this saves user a lot of work from creating new collections.

Otherwise great tool. Thank you.

@Julien-cpsn
Copy link
Owner

Hello,

Yes, this is totally planned!
But, just to let you know, implementing "import" function takes a lot of time unfortunately.

If you think you could contribute to this, it will be great!

Have a great day

@Julien-cpsn Julien-cpsn added the enhancement New feature or request label Jul 24, 2024
@ondrej-ivanko
Copy link
Author

Definitely something I might be interested to look into. It might be as easy as porting code from openapi-tui and planting it in your project (within reason as you might want to be using different crates for the identical functionality)

@ccoVeille
Copy link
Contributor

For anyone interested, I think openapi-tui is about this

https://github.com/zaghaghi/openapi-tui

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

3 participants