swagger-api / swagger-api/swagger-ui

Printable version miss in 3.0.2

Open
#2,756 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs community contribution P3 type: feature version: 3.x
Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

In previous version of swagger a printable version of the API exists, with all the panel expanded. That was very useful when the API specification was sent via file

Expected result
When printing, the API layout is shown with panels expanded

Current result
Printling layout is the same than the web browser version where all the panels are collapsed

How to reproduce
For the expected result
Print to PDF SWAGGER UI with the version < 3.0.2

For the current result
Print to PDF SWAGGER UI with the version = 3.0.2

PD: Nice work update 3.0.2 , it was a huge improvement

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 by reproducing the print-to-PDF behavior in Swagger UI versions before and at 3.0.2, comparing whether panels are expanded in the printed output. Trace the browser print layout behavior from that reproduction. Done means the printed API layout shows all panels expanded while the web view remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.