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
showExtensions | SHOW_EXTENSIONS | Boolean=false . Controls the display of vendor extension (x- ) fields and values for Operations, Parameters, Responses, and Schema. |
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm curious if this is a free plugin in Confluence Cloud? If so, is it available on Confluence Server and on what version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.