fecgov / openFEC

The first RESTful API for the Federal Election Commission. We're aiming to make campaign finance more accessible for journalists, academics, developers, and other transparency seekers.
https://api.open.fec.gov/developers
Other
479 stars 106 forks source link

Address usability concerns on openFEC API swagger page #4565

Open JonellaCulmer opened 4 years ago

JonellaCulmer commented 4 years ago

What we're after: We need to improve the usability of the swagger page. We've implemented language changes and the API key sign up form. While those were necessary and immediate changes to support the API, we need to now take another look at how the page functions.

openFEC API swagger page: https://api.open.fec.gov/developers/

Potential problems:

Action items:

Completion criteria:

johnnyporkchops commented 4 years ago

One enhancement is that this could be put into an accordion. Also a click event on the accordion could trigger the form load--possibly solving the concern for intermittent non-loading of form:

Also see Issue submitted on https://github.com/18F/api.data.gov/ here: https://github.com/18F/api.data.gov/issues/554

signup_accordion

realimpat commented 4 years ago

Hi,

I was looking to explore the API but the swagger page looks broken. I find it very hard to read, to the extent that I've been using the bulk data downloads instead, because I can navigate them.

Here is a screenshot.

Screen Shot 2020-08-30 at 6 23 36 PM

Is this what is supposed to show up? (live demo of open source swagger ui from swagger.io) https://petstore.swagger.io/?_ga=2.253231433.192694618.1598826364-1119385499.1598826364&_gac=1.125568504.1598826364.CjwKCAjwnK36BRBVEiwAsMT8WKdMUROAaeKrC9W5uAKtxBP5XrMZVTWULkcLumoXtF5Y88Uxs0JTWRoCQhQQAvD_BwE