Burgyn / MMLib.SwaggerForOcelot

This repo contains swagger extension for ocelot.
MIT License
351 stars 93 forks source link

How to show Gateway as first and select by default #235

Closed P9avel closed 2 years ago

P9avel commented 2 years ago

Hi, i am want to do as on screenshot. How to do this? image

Burgyn commented 2 years ago

Hi @P9avel ,

Please check this section in documentation https://github.com/Burgyn/MMLib.SwaggerForOcelot#the-gateway-documentation-itself

P9avel commented 2 years ago

I am read before. o.GenerateDocsForGatewayItSelf = true; added Gateway item as last in my case as last item in combobox and Swagger selected first item (not gateway) by default.

Burgyn commented 2 years ago

Hi, sorry, I didn't understand that you were talking about order.

Unfortunately, there is no option to change the order.

If you need it, you can prepare a pull request.

github-actions[bot] commented 2 years ago

Closing after 8 days of waiting for the additional info requested.