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 a file selector as well as URL input for the demo #1251

Closed
c-harding opened this issue May 1, 2020 · 3 comments
Closed

Add a file selector as well as URL input for the demo #1251

c-harding opened this issue May 1, 2020 · 3 comments

Comments

@c-harding
Copy link

c-harding commented May 1, 2020

To make it easier to develop an openapi file locally, would it be possible to allow the user to upload a file, as an alternative to entering a URL, when using the interactive demo at https://redocly.github.io/redoc/ ?

@RomanHotsiy
Copy link
Member

Great idea! PRs are welcome!

DepickereSven added a commit to DepickereSven/redoc that referenced this issue Jan 15, 2022
This PR should fix the request to add a file selector to the demo application see issue Redocly#1251 .
Oprysk pushed a commit that referenced this issue Jan 24, 2022
* feat(#1251): Add file selector to demo application

This PR should fix the request to add a file selector to the demo application see issue #1251 .

* refactor(): Remove function, use it implicit

* refactor(): Add interface props

* refactor(): Update method usage

use regular func as a Component declaration and the arrow func as a handler inside the component.
@Oprysk Oprysk closed this as completed Jan 24, 2022
@DepickereSven
Copy link
Contributor

@Oprysk or @RomanHotsiy would it be possible to update the demo app on this branch
https://github.com/Redocly/redoc/tree/gh-pages with those changes?

@iq-vindy
Copy link

thank you so much for this contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants