摘要: c# 调试模式下Swaggerf附加接口参数,如:每个接口Header中附加参数appId 1、新增过滤器: public class GlobalHttpHeaderFilter : IOperationFilter { public void Apply(Operation operation, 阅读全文
posted @ 2018-06-28 14:45 94cool 阅读(1754) 评论(0) 推荐(0)
摘要: Visual Studio下运行PowerShell脚本自动更新项目里AssemblyInfo.cs文件的版本(自增小版本号)并发布到Nuget服务器上 附脚本【 update.ps1文件内容】: $path="Properties\AssemblyInfo.cs" $pattern = '\[as 阅读全文
posted @ 2018-06-28 12:32 94cool 阅读(593) 评论(0) 推荐(0)