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
The NSwag build will only generate the swagger.json file for the first version, only. Subsequent versions do not show in the swagger file.
Also, if I try to add multiple routes to a single controller, the tool fails with an exception stating that the collection contains more than one element on a .Single() call. Example controller:
I am using NSwag.MSBuild 11.17.12. Additionally, I am using Microsoft.AspNetCore.Mvc.Versioning 2.2.0. If I have a controller such as:
The NSwag build will only generate the swagger.json file for the first version, only. Subsequent versions do not show in the swagger file.
Also, if I try to add multiple routes to a single controller, the tool fails with an exception stating that the collection contains more than one element on a
.Single()
call. Example controller:Expectations
[ApiVerion(...)]
attributes, andThe text was updated successfully, but these errors were encountered: