Giter VIP home page Giter VIP logo

xhttpwrapper's Introduction

1 这是一个解析器,解析由apidoc.js生成的API接口的HTML页面;
2 解析后,生成API接口中请求方法,请求路径,请求参数,请求头与响应实体等等的接口数据.
3 再由这些接口数据,生成Android中的请求方法,与响应实体类.
4 由于这些只是自己在开发公司项目中做的一个东东,所以,很多东西都是只符合当前项目,若要拿去使用,可以自己更改.

release version 0.6 future

  • 重构xtemp解析器,
    • 使得foreach标签能够多层嵌套,去除掉list等标签

release version 0.5

1、add prefix(t) to template tags;
2、add volley and asynchttp lib x-http-wrapper template file;
3、refactor input and output type enum;-->add map type
4、add is_polymerization fun;
5、add guide;

release version 0.4

add request param template type;
添加了请求参数组模板类型,用于简化请求参数的个数过多的情况;

release version 0.3

不再解析apidocjs的和HTML页面中的数据了,直接解析api_data.json;

release version 0.2

实现了转换文件的模板化;

xha

http api 请求的对外文件,所有的请求都通过该文件进行访问;

xreq

http request 请求的类别文件,包含同一分类中的所有的请求;

xres

http response entity 每一个请求中的响应实体类;

xbres

http base response 请求响应的base文件,包含了各个response中所有的error;

xsc

http response status code 请求响应的内部的状态码文件;

release version 0.1

实现了最基本的,将RESTful url转换成请求方法与响应实体类,与响应状态码的功能;

xhttpwrapper's People

Contributors

xuyt11 avatar

Stargazers

溪花小哥 avatar Allen avatar kkkkkkk avatar  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.