Swagger-ui: Too much space in the page

Created on 8 Jun 2018  路  5Comments  路  Source: swagger-api/swagger-ui

Q&A (please complete the following information)

  • OS: [e.g. All]
  • Browser: [chrome]
  • Version: [22]
  • Method of installation: [dist assets]
  • Swagger-UI version: [3.10.0]
  • Swagger/OpenAPI version: [Swagger 2.0, OpenAPI 3.0]

Describe the solution you'd like

I know this is controversial. So just my oppinion.
IMO there is too much space in the page, and the font size is too big (when others are normal) for a computer monitor, so I need to scroll down and up frequently.
I hope it to be more compact.

See attached, 80% of the area is space.
qq 20180608110227

style & presentation enhancement

Most helpful comment

I did get the feeling after trying to switch from swagger 2.x to 3.x that I can't see the same amount of information in the same screen space.

All 5 comments

@zenglian, thanks for the feedback 馃槃

@zenglian yes HIGHLY controversial!
If it was up to me I would make it like:
bylctrxceaev-i2

I did get the feeling after trying to switch from swagger 2.x to 3.x that I can't see the same amount of information in the same screen space.

@conet not just a feeling, the 3.x UI is easier on the eyes, but the result is less info in the same space...
there is a project that adds themes to the UI:
https://github.com/ostranme/swagger-ui-themes

Unfortunately none of the themes for 3.x create the minimalistic look of 2.x

I hope the team will give out a more compact ui version or themes.
No question 3.x UI is easier on the eyes, but we are engineers not artiest...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

insideshell picture insideshell  路  3Comments

easyest picture easyest  路  3Comments

fehguy picture fehguy  路  3Comments

shockey picture shockey  路  3Comments

liuya05 picture liuya05  路  3Comments