swagger-api / swagger-api/swagger-ui

Add possibility to enable 'execute' button after endpoint click.

Open
#4,792 3 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cat: customization cat: try-it-out type: feature
Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

Hello, I find something in my opinion that could be parameterized.

Every time when I want to make request through swagger-ui I need to make 3 action.
Click on element -> click on try it out -> click on execute.

I want to have easy possibility to short that action path to:
Click on element -> click on execute

I think that even after click on specific element scroll of the site could move to that button to make it event faster for user - especially if this is simple get request :)

Below description of problem with support of screens:

After click on specific endpoint element
1

I want to not must click on "Try it out" button
2

But instead to have Execute button available to click - just after clicking on endpoint element
3

Is this possible?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the endpoint element interaction and the Try it out and Execute controls described in the issue. Trace how clicking an endpoint changes the available actions, then determine where an option for skipping Try it out would belong. Done means the configured flow can go directly from endpoint click to an available Execute button, with the requested scroll behavior considered.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.