Our C# Asp.NET (not core) REST API uses the Swashbuckle nuget package (thanks Richard Morris) v5.6 to generate the swagger definition and UI page. The problem is, that the operationId is not displayed on the UI page.
I can see on several pages that the .net core version contains a mystic DisplayOperationId=true configuration settings to (hopelessly) solve this issue. But in the non .net core version I cannot find this settings, nor cannot see a working example how to customize the UI to display that piece of information.
Could somebody help me how to solve this problem? Thanks in advance!
the query args &displayOperationId=true in url may useful.
test:
https://petstore.swagger.io/?displayOperationId=1
ref:
https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/#displayOperationId
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With