You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm working on a ASP.NET WebAPI (.NET Framework 4.7.2) using NSwag. In the beginning I used NSwag 13.19 together with the aspnet-api-versioning assemblies ([https://github.com/dotnet/aspnet-api-versioning], which work fine together. If I opened the Swagger UI (SchemaType.OpenApi3), I got something like this:
Using the comboxbox in the upper right corner, I was able to choose between the defined WebAPI versions.
After I updated the NSwag assemblies to the current version 14.0.7, the combobox for switching between
versions won't be rendered anymore:
Now I got this "explore" search box, where I have to write the wanted version string into, e.g. /swagger/v1.0.json.
If I click on the "explore" button without sepcifying a version string, I only got the message "No API definition provided."
How is it possbile, to get the combobox to be rendered again? Or, if this is not longer supported, how can I list
the defined API versions of the WebAPI, if I click on the "explore" button?
I'm using the following nuget packages in the WebAPI project:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm working on a ASP.NET WebAPI (.NET Framework 4.7.2) using NSwag. In the beginning I used NSwag 13.19 together with the aspnet-api-versioning assemblies ([https://github.com/dotnet/aspnet-api-versioning], which work fine together. If I opened the Swagger UI (
SchemaType.OpenApi3
), I got something like this:Using the comboxbox in the upper right corner, I was able to choose between the defined WebAPI versions.
After I updated the NSwag assemblies to the current version 14.0.7, the combobox for switching between
versions won't be rendered anymore:
Now I got this "explore" search box, where I have to write the wanted version string into, e.g.
/swagger/v1.0.json
.If I click on the "explore" button without sepcifying a version string, I only got the message "No API definition provided."
How is it possbile, to get the combobox to be rendered again? Or, if this is not longer supported, how can I list
the defined API versions of the WebAPI, if I click on the "explore" button?
I'm using the following nuget packages in the WebAPI project:
Each of the nuget packages has its own transitive dependencies as well.
I am grateful for any hint or advice.
Thanks in advance.
Best regards,
Tom
Beta Was this translation helpful? Give feedback.
All reactions