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

Support drop down menu in RAML console #140

Closed
dkirrane opened this issue Jun 8, 2015 · 1 comment
Closed

Support drop down menu in RAML console #140

dkirrane opened this issue Jun 8, 2015 · 1 comment

Comments

@dkirrane
Copy link

dkirrane commented Jun 8, 2015

It would be nice if <raml-initializer> or <raml-console> supported a list of raml urls.

The user could then switch between different raml APIs from within a single raml console window.

Something like a select tag would be good.

<select>
  <option value="http://localhost/apiOne.raml">One API</option>
  <option value="http://localhost/apiTwo.raml">Two API</option>
  <option value="http://localhost/apiThree.raml">Three API</option>
</select>
@jarrodek
Copy link
Contributor

jarrodek commented Jul 4, 2017

The API console as a HTML element allows you to do this.

You can create a custom build of the console and programatically add such list (it would also require from you to use parser and enhancer to actually load and parse the content).

Other options is to use the nav attribute of a child of the <api-console> element. Elements with such attribute will be places in top main navigation. It could be an <select> list or whatever you feel fit.

I'm preparing an example of the API Console with such selector so I'll reference it later this month.

@jarrodek jarrodek self-assigned this Jul 4, 2017
@jarrodek jarrodek added this to the v4 bugfixes - #1 milestone Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants