Open jarleli opened 4 months ago
I tested this in my own project, but is there any additional tests or qa I can provide to increase the chances of this being merged?
I really thought there would be general interest in being able to load swagger plugins with NSwag, but unfortunately there hasn't been much response to my suggestion.
Possibly the project is abandoned, but if not I'll be here when this is picked up.
I wanted my NSwag swagger to use a plugin for hierarchical tags to properly visualize several levels in the API structure and domain and found the perfect Swagger Plugin for the job, but I can't add plugins to swagger without manipulating the swagger HTML.
Shoutout to the plugin here: https://www.npmjs.com/package/swagger-ui-plugin-hierarchical-tags
I can provide a PR to allow you to set plugins through:
It wasn't possible to do this through additionalSettings because the script has to load before the plugins:[].
I feel having general support for swagger plugins through NSwag must be of general interest and figured I'd hear if that's true.