cancel
Showing results for 
Search instead for 
Did you mean: 

Swagger UI Operation-object parameters display before Path-object parameters

Highlighted
Occasional Visitor

Swagger UI Operation-object parameters display before Path-object parameters

OpenAPI 3.0 allows the definition of parameters both at the Path object level and at the Operation object level. I have defined some parameters for a Path, and I have a few specific parameters defined just for one Operation on that Path. Swagger UI is displaying the Operation level parameters first, then the Path level parameters. I would like that to be reversed. Is there a way to indicate the order that parameters are displayed? Or is there some way to get the Path level parameters to display first? Any guidance is appreciated.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors