swagger-maven-plugin icon indicating copy to clipboard operation
swagger-maven-plugin copied to clipboard

support nested extensions

Open ThomasPr opened this issue 6 years ago • 1 comments

The new extension feature since version 2.0.2 allows to define entries like this:

<info>
  <title>My API</title>
  <extensions>
    <x-my-extension>anything</x-my-extension>
  </extensions>
</info>

Unfortunately, nested values inside an extension are ignored and rendered as null values.

<info>
  <title>My API</title>
  <extensions>
    <x-my-extension>
      <nested>anything</nested>
    </x-my-extension>
  </extensions>
</info>

I kindly ask to add support for such nested extensions.

ThomasPr avatar Jan 28 '19 14:01 ThomasPr

I would also really appreciate this functionality!

lenny1806 avatar Feb 25 '21 18:02 lenny1806