magic-api 0.3.0 发布,接口快速开发框架

栏目: 软件资讯 · 发布时间: 3年前

内容简介:本次更新内容: 新增 历史记录查看、比对、还原 支持Swagger2 允许日志输出到页面上 接口分组前缀 Response模块(可输出图片、下载文件、自定义JSON、构建分页) BUG修复 RequestBody参数测试时无效的问题 优化 滚动...

本次更新内容:

新增

  • 历史记录查看、比对、还原
  • 支持Swagger2
  • 允许日志输出到页面上
  • 接口分组前缀
  • Response模块(可输出图片、下载文件、自定义JSON、构建分页)

BUG修复

  • RequestBody参数测试时无效的问题

优化

  • 滚动条、图标兼容Firefox
  • 优化UI体验
  • 取消兼容null.方法、null.属性、null[key]、null[index]

项目介绍

magic-api 是一个接口快速开发框架,通过Web页面编写脚本以及配置,自动映射为HTTP接口,无需定义Controller、Service、Dao、Mapper、XML、VO等 Java 对象

使用方式

maven引入

<!-- 以spring-boot-starter的方式引用 -->
<dependency>
	<groupId>org.ssssssss</groupId>
	<artifactId>magic-api-spring-boot-starter</artifactId>
    <version>0.3.0</version>
</dependency

修改application.properties

server.port=9999
#配置web页面入口
magic.web=/magic/web
#以下配置需跟实际情况修改
spring.datasource.url=jdbc:mysql://localhost/test
spring.datasource.username=root
spring.datasource.password=123456789
spring.datasource.driver-class-name=com.mysql.jdbc.Drive

执行建表语句

执行源码中的db/magic-api.sql建表语句 

在线编辑

访问http://localhost:9999/magic/web进行操作

文档&演示

项目截图

整体截图

magic-api 0.3.0 发布,接口快速开发框架

切换皮肤

magic-api 0.3.0 发布,接口快速开发框架

代码提示

magic-api 0.3.0 发布,接口快速开发框架

DEBUG

magic-api 0.3.0 发布,接口快速开发框架


以上所述就是小编给大家介绍的《magic-api 0.3.0 发布,接口快速开发框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Modeling the Internet and the Web

Modeling the Internet and the Web

Pierre Baldi、Paolo Frasconi、Padhraic Smyth / Wiley / 2003-7-7 / USD 115.00

Modeling the Internet and the Web covers the most important aspects of modeling the Web using a modern mathematical and probabilistic treatment. It focuses on the information and application layers, a......一起来看看 《Modeling the Internet and the Web》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具