Ask a Question

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

AlcatraZ591
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.

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: