Giter Site home page Giter Site logo

abp.web.api.swaggertool's Introduction

Abp.Web.Api.SwaggerTool

Feature

1 codegen C# and js

/swagger/proxy/CSharp
/swagger/proxy/JQueryCallbacks
/swagger/proxy/JQueryPromises
/swagger/proxy/AngularJS
/swagger/proxy/Angular2

2 export json file that can import into POSTMEN ,better than the import function buildin POSTMEN

/swagger/postman

3 can search in the swagger-ui

/swagger/docs/{apiVersion}/{key to search by path}

4 automatic api changelogs and backwards compatible status

/sawgger/changelogs/{apiVersion}

5 six swagger-ui theme (https://github.com/ostranme/swagger-ui-themes)
6 hide api or Abp api in the swagger

#setting file

{
  "enable": true, //是否启用swagger集成  
  "theme": "flattop", //主题名称 flattop,muted,newspaper,outline,monokai,feeling-blue  
  "HideAbpAutogeneratedApi": false, //是否隐藏Abp框架生成的Api接口  
  "HideDocPathAttributeName": "XX", //Api上标注此特性的话,则不在swagger中生成  
  "HideDocPaths": ["path1"],//Api中包含这些字符,则不在swagger中生成  
  "CSharpGen": {
    "ClassName": "ApiClient", //C#代理生成的类名  
    "Namespace": "ApiServices" //C#代理生成的命名空间  
  },
  "TypeScriptGen": { 
    "ClassName": "Client", //JS代理生成的类名  
    "Namespace": "ApiServices" //JS代理生成的命名空间  
  },
  "PostmanGen": {  
    "name": "ApiServices" //名称  
  },
  "XmlCommentFiles": ["xxx.xml"]//xml注释的文件名  
}  

abp.web.api.swaggertool's People

Contributors

yuzukwok avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.