Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
[Bug]: path template parameter is not populated
Describe the bug
Original bug created in Swagger UI - https://github.com/swagger-api/swagger-ui/issues/10078
Having an /api/hello/name={name}
API method declared, I see Swagger UI with required name
input. But the actual value I specify is not replaced in the path template and API receives "name" parameter with "{name}" value.
Expected behavior
Path template parameters get populated
Actual behavior
Path template parameters are not populated
Steps to reproduce
Exception(s) (if any)
No response
Swashbuckle.AspNetCore version
v6.6.1+
.NET Version
8
Anything else?
I can see that v6.6.1 originally referenced Swagger UI 5.17.1 - based on this PR. The later version bumps were made by dependabot - https://github.com/martincostello/Swashbuckle.AspNetCore/commits/master/src/Swashbuckle.AspNetCore.SwaggerUI/package.json
Does it make sense to freeze Swagger UI version at the v5.17.6 which seems to be the latest reliable until Swagger UI issue is fixed? - Details - https://github.com/swagger-api/swagger-ui/issues/10078