xxxxプログラマのメモ

先人に感謝と敬意:自分の困ったこと調べたことのメモ

.Net Core 3.0 & C# 8.0 & Tips

www.slideshare.net
www.slideshare.net

www.slideshare.net
www.slideshare.net
docs.microsoft.com
ufcpp.net

docs.microsoft.com
qiita.com

Thanks!

Actions require an explicit HttpMethod binding for Swagger 2.0 #属性のルーティング #FromRoute

属性ルーティング対応時に
Actions require an explicit HttpMethod binding for Swagger 2.0

[Route("hoge/dog/{dog}/type/{type}")]
[HttpGet]
[Route("hoge")]
[HttpGet("dog/{dog}/type/{type}")]

はNG

[HttpGet("hoge/dog/{dog}/type/{type}")]

でOK!

c# - How to pass multiple parameters to a get method in ASP.NET Core - Stack Overflow
ASP.NET Core MVCのWebAPIでURLクエリパラメータを取得する方法 – kokoni

Thanks!

Api クライアントの自動生成

mvnrepository.com


www.nuits.jp