cancel
Showing results for 
Search instead for 
Did you mean: 

swagger extension for paths, post and top level

Highlighted
New Member

swagger extension for paths, post and top level

Hi,

I am able to integrate Swagger2 with Springboot and springfox to generate json file. However, the generated file doesn't match what the company has provided.

 

Here is an example of the yaml file that the company uses as standard

swagger: "2.0"
info:
.....
tags:
- name: ...


x-swagtag:
customProp: ....

paths:
/aPath:
x-swagtag:
name: ....
plugins:

some-rate-limiting:
duration: ...
post:
x-swagtag:
whoIsItFor:
- 'user'
..... usual thing goes here

 

I am pretty new to Swagger, I've looked through documentations to try and use @Extension and @ExtensionProperty but they don't support nested structure. 

 

Would any of you please provide some suggestion on what the best way to go about this? 

 

Thanks & regards

 

1 REPLY 1
Moderator

Re: swagger extension for paths, post and top level

Unfortunately, Springfox is not one of our projects and we don't know it well enough to provide support for it. Please file a ticket with the project directly.

New Here?
Join us and watch the welcome video:
Watch the New Interview
7Mistakes
Join our online event
SeptemberHubBub
Join the September Hub-bub to show off, learn and win