Open API (Swagger) Macro (Swagger spac) output is not available in exported PDF

Jay Shankar Pathak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2018

Hi,

I am using Open API (Swagger) macro to document the REST APIs in swagger format and when we generate the PDF using "export PDF", output of Open API macro is not available.

Any help to solve this will be appreciated.

Regards,

Jay 

1 answer

0 votes
Tobias Anstett _K15t_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2018

Hi Jay,

this issue is most likely related to the way the macro outputs the data. In general all PDF exporters available for Confluence have the problem to render dynamic html - html generated using JavaScript in the frontend of the user - as exports are generated in the backend by the server which is not able to render them.

Thus macro providers are supposed to implement a so called export view of their macros which generates static content which can be exported.

Thus the only solution is to open a support ticket at the corresponding vendor. However "I just did a search on marketplace" all the apps look like they just render the swagger UI view so they have not really implemented the UI on their own so far.

Best, Tobias

Andreas Medlhammer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 28, 2024

4 years later and still no solution?

Any ideas of workarounds?

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events