GithubHelp home page GithubHelp logo

yangfei1028 / apiintelligencerobot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luisxiaomai/apiintelligencerobot

0.0 2.0 0.0 23.82 MB

接口测试平台

License: Other

Java 1.47% HTML 19.31% Scala 0.93% JavaScript 70.61% Shell 0.01% Batchfile 0.01% CSS 7.38% XSLT 0.09% Python 0.20% PHP 0.01%

apiintelligencerobot's Introduction

json文档生成工具:

1、

swagger-maven-plugin https://github.com/kongchen/swagger-maven-plugin
swagger-maven-example https://github.com/swagger-maven-plugin/swagger-maven-example

2、

springfox https://github.com/springfox/springfox
springfox-demos https://github.com/springfox/springfox-demos

3、

swagger https://github.com/swagger-api/swagger-core/wiki
swagger-samples https://github.com/swagger-api/swagger-samples

下载

Activator https://www.playframework.com/downloadad

swagger-codegen https://github.com/swagger-api/swagger-codegen

swagger-editor https://github.com/swagger-api/swagger-editor

java http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

mongodb https://www.mongodb.com/download-center#community

部署

swagger-codegen

  • 命令行:mvn package;
  • 修改tomcat confg server.xml 8080端口改为9090;
  • 修改swagger-codegen/modules/swagger-generator/target/swagger-generator-2.2.0-SNAPSHOT.war为ROOT.war;
  • 删除tomcat webapps中的ROOT目录;
  • 移动ROOT.war到tomcat webapps中;
  • 启动tomcat;

swagger-editor

 "codegen": {
    "servers": "http://swagger_generator_ip:9090/api/gen/servers",
    "clients": "http://swagger_generator_ip:9090/api/gen/clients",
    "server": "http://swagger_generator_ip:9090/api/gen/servers/{language}",
    "client": "http://swagger_generator_ip:9090/api/gen/clients/{language}"
  }

mongodb

  • 修改 mongod.conf bindIp 为 127.0.0.1
  • 创建数据库apidata
  • 创建数据集合apidocs、userinfos、scenarioinfos

Activator

apiintelligencerobot's People

Contributors

kinget007 avatar

Watchers

James Cloos avatar  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.