Skip to content

Is showExtensions in info heading supported? #6368

Open
@ckipp01

Description

@ckipp01

Q&A (please complete the following information)

  • OS: macOS
  • Browser: chrome/firefox
  • Version: latest
  • Method of installation: dist assets
  • Swagger-UI version: 3.25.5
  • Swagger/OpenAPI version: OpenAPI 3.0.1

Content & configuration & Question

There isn't really a ton of relevant configuration to this question, but mainly surrounding the support for showExtensions. According to the specification it seems that vendor extensions are support in various sections, including info. On the documentation for swagger-ui under the showExtensions section you have the following:

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

You mention operations, parameter, and schema, but nothing about displaying it in info, which I assume would be the header. So for example, if I have a swagger.json file that has the following:

...
"info": {
  "title": "",
  "description": "",
  "version": "1.0",
  "x-my-key" "value"
...

With showExtensions set to true, there seems to be no place for this to be displayed, or if there is, they don't seem to be. Is this use case supported?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions