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
Currently there are some swagger generation issues when using 'dispatcher endpoints'.
Using the endpoints from Pacco.Vehicles I have stumbled upon the following:
when endpoints with the same path exist, only the first one with particular path will be added to the swagger document
e.g.: .Get<GetVehicle, VehicleDto>("vehicles/{vehicleId}") and .Put<UpdateVehicle>("vehicles/{vehicleId}") will result in only the GET endpoint being added in the swagger document.
example models are currently not rendered as seen here:
At first glance these problems occur in the WebApiDocumentFilter class.
I can post a repro if needed.
The text was updated successfully, but these errors were encountered:
Currently there are some swagger generation issues when using 'dispatcher endpoints'.
Using the endpoints from Pacco.Vehicles I have stumbled upon the following:
when endpoints with the same path exist, only the first one with particular path will be added to the swagger document
e.g.:
.Get<GetVehicle, VehicleDto>("vehicles/{vehicleId}") and .Put<UpdateVehicle>("vehicles/{vehicleId}")
will result in only the GET endpoint being added in the swagger document.example models are currently not rendered as seen here:
At first glance these problems occur in the WebApiDocumentFilter class.
I can post a repro if needed.
The text was updated successfully, but these errors were encountered: