Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I set configuration for swagger-ui plugin

The Open API (Swagger) documentation for Confluence plug-in does a good job. 

 

However, by default it isn't showing x-extensions, which can normally be set through configuration. Is it possible to set this configuration within the plug-in? 

This is the particular configuration entry which I want to be able to set to true

showExtensionsSHOW_EXTENSIONSBoolean=false. Controls the display of vendor extension (x-) fields and values for Operations, Parameters, Responses, and Schema.

2 answers

1 accepted

1 vote
Answer accepted

Hi Alex,

Yes, it is possible to set the `showExtensions` configuration option in the plug-in.

Once you have added the macro to your page, click the "Edit" button to open the 'Edit Open API (Swagger) Documentation Macro' dialog, and check the "Show vendor extensions" option.

I hope this helps.

Edit_-_Open_API_Embedded_Test_-_Confluence.png

Thank you - very helpful!

My next challenge is to see whether or not this can be programatically set when a page is created, as we always want to see vendor extensions. 

I can't find something in the plugin configuration that allows it, but I'm keeping my fingers crossed. 

I'm curious if this is a free plugin in Confluence Cloud? If so, is it available on Confluence Server and on what version?

Hi John,

The app is available for all three Confluence platforms (Server, Cloud and Data Center).

The Server / Data Center versions support Confluence version 5.8.2 - 7.14.0.

Like John Michael Ferraris likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

426 views 3 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you