scottie1984 / swagger-ui-express

Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
MIT License
1.42k stars 225 forks source link

Version per request feature required #253

Closed Yevhen-Molchaniuk closed 2 years ago

Yevhen-Molchaniuk commented 3 years ago

I'm submitting a...


[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

Now swagger documantation doesn't provide any information about request in which version of api it was added image

Expected behavior

Add some text and highlight like on the screenshot to show when this request was added, and if it was created in this version of api add highlight for this request, it can be added by some tag like version: '1.2' image

What is the motivation / use case for changing the behavior?

More information about requests, when they was added or changed, it will be more colerfull for frontend developers

scottie1984 commented 2 years ago

This would be best placed raised directly with https://github.com/swagger-api/swagger-ui