GithubHelp home page GithubHelp logo

hebingbing123 / metersphere-idea-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metersphere/metersphere-idea-plugin

0.0 0.0 0.0 141 KB

License: GNU General Public License v3.0

Java 100.00%

metersphere-idea-plugin's Introduction

metersphere-idea-plugin

支持导出 HTTP 接口到 MeterSphere.

Features:

  • Javadoc-based analysis,no additional annotations.
  • Automatically identify classes, generate api documents to MeterSphere.
  • Support list, set, collection and other data structures, and support nested generic parsing.
  • Support the parsing of common annotations such as @ResponseBody, @RequestMapping, and generate api documents based on json5.

Usage:

  • Locate the cursor to the package/project folder or class, right-click Export MeterSphere.
  • Support annotations:

    org.springframework.web.bind.annotation.Controller org.springframework.web.bind.annotation.RestController org.springframework.web.bind.annotation.RequestMapping org.springframework.web.bind.annotation.GetMapping org.springframework.web.bind.annotation.PutMapping org.springframework.web.bind.annotation.DeleteMapping org.springframework.web.bind.annotation.PatchMapping org.springframework.web.bind.annotation.PathVariable org.springframework.web.bind.annotation.RequestBody org.springframework.web.bind.annotation.RequestParam org.springframework.web.bind.annotation.ResponseBody

特性:

  • 基于javadoc解析,无代码入侵
  • 自动识别类,生成接口定义到 MeterSphere
  • 支持List、Set、Collection等数据结构,支持嵌套泛型解析
  • 支持@ResponseBody等常用注解的解析

用法:

  • 将光标定位到项目/包级目录或者打开类,鼠标右键单击"Export MeterSphere".
  • 自定义配置项: Preferences —> Other Settings —> MeterSphere
配置项 含义
apiServer MeterSphere api 服务器地址
accesskey accesskey
secretkey secretkey
protocol 协议
workspace 工作空间
project 项目
module 接口将要导入的项目对应的模块
mode 覆盖/不覆盖已导入同名接口
deepth 针对接口中含有复杂嵌套对象的解析深度
version 新增接口建立的版本号
update-version 覆盖接口所生成的版本号

Compatible IDE versions: 2020.3+

问题反馈

如果您在使用过程中遇到什么问题,或有进一步的需求需要反馈,请提交 GitHub Issue 到 MeterSphere 项目的主仓库

metersphere-idea-plugin's People

Contributors

zhangdahai112 avatar wan92hen avatar guqing 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.