Swagger
大熊程序猿
不积跬步无以至千里不积小流无以成江海
展开
-
rest api client code generator
一、搜索:REST API Client Code Generator。配置java环境和node环境。原创 2023-08-06 13:49:41 · 274 阅读 · 0 评论 -
centos7 安装yapi
安装环境:#nodejs(7.6+)cd /applicationwget https://nodejs.org/dist/v14.15.4/node-v14.15.4-linux-x64.tar.xztar -xvf node-v14.15.4-linux-x64.tar.xzmv ./node-v14.15.4-linux-x64 /usr/local/nodeln -s /usr/local/node/bin/node /usr/bin/nodeln -s /usr/local/nod.原创 2021-02-08 21:36:50 · 434 阅读 · 0 评论 -
docke 部属knife4j
mkdir /home/openapinano /home/openapi/app.yml####################app.yml#####################server: port: 8888knife4j: enableAggregation: true cloud: enable: true routes: - name: cloud1 uri: knife4j.xiaominfo.com ...原创 2021-10-27 21:59:29 · 285 阅读 · 0 评论 -
Swashbuckle IgnoreObsolete 实践
一、新建项目:SwaggerDemo//关键代码c.RequestBodyFilter<RequestBodyFilter>();c.IgnoreObsoleteActions();c.IgnoreObsoleteProperties();Startup.csusing Microsoft.AspNetCore.Builder;using Microsoft.AspNetCore.Hosting;using Microsoft.AspNetCore.Mvc;using原创 2021-04-04 11:49:13 · 282 阅读 · 0 评论 -
.net mvc api 配置NSwag
一、安装包NSwag.AspNet.WebApiNSwag.AspNet.Owin安装完成自动生成:SwaggerConfig.csusing System;using System.Linq;using System.Web;using System.Web.Http;using System.Web.Http.Description;using System.Web.Http.Routing.Constraints;using System.Collections.Gene原创 2021-03-31 22:33:56 · 757 阅读 · 0 评论 -
vue-oidc-client集成IdentityServer4
IdentityServer4:https://github.com/IdentityServer/(后端的)identitymodel:https://github.com/identitymodelvuex-oidc:https://github.com/perarnborg/vuex-oidc/wiki打开项目:Vue.Demo安装依赖npm install --...原创 2019-10-03 22:56:51 · 11034 阅读 · 8 评论 -
ASP.NET Core 整合Autofac和Castle实现自动AOP拦截
新建项目:Castal.DemoNuget: <PackageReference Include="Autofac.Extensions.DependencyInjection" Version="5.0.1" /> <PackageReference Include="Autofac.Extras.DynamicProxy" Version="4.5.0...原创 2019-10-16 22:35:28 · 897 阅读 · 0 评论