GithubHelp home page GithubHelp logo

easy-doc / easy-doc-core Goto Github PK

View Code? Open in Web Editor NEW
29.0 2.0 9.0 19.5 MB

简单易用的java接口文档生成器,基于Javadoc风格生成,前端地址https://github.com/Easy-doc/Easy-doc-ui-pro

License: Apache License 2.0

Java 81.13% HTML 18.71% CSS 0.16%
java doc javadoc

easy-doc-core's Introduction

logo

项目介绍

  • 简单易用的 Java 接口文档生成器,基于 JavaDoc 风格的注释生成接口文档,对代码 0 侵入。
  • 提供接口展示,对象展示,调用测试,全局参数配置等功能,目前最新稳定版本1.3.0,可以通过 maven 或者 gradle 直接使用
  • 支持网关和服务模式,通过配置文件决定
  • 支持通过 url 分享指定接口或者对象

使用方式

  • 通过 service_ip:port/easy-doc.html 的方式访问
  • 通过 service_url/easy-doc.html 的方式访问

网关模式效果图

gateway

服务模式效果图

service

接口详情效果图

controller

对象列表效果图

model

全局参数效果图

global

设计思路

设计思路文档

引入依赖方法

<dependency>
    <groupId>com.stalary</groupId>
    <artifactId>easy-doc</artifactId>
    <version>${version}</version>
</dependency>
  • 使用gradle引入
dependencies {
  implementation('com.stalary:easy-doc:${version}')	
}

打包插件引入

配置方式

注释书写规则

规则介绍

版本特性

特性更新文档

Bug/Feature 提交

参与贡献

  • Pull Request

常见问题

easy-doc-core's People

Contributors

dependabot[bot] avatar fg6a5gf avatar shawzh avatar stalary avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

easy-doc-core's Issues

项目生成报错

您好,我使用了您的工具,但是目前报错,具体情况如下:

项目为Spring boot,使用maven引入,代码如下:

com.stalary easy-doc 1.3.5

yml配置如下:
com:
stalary:
easydoc:
name: easydoc demo # 项目名称
contact: [email protected] # 项目联系人
description: easydoc测试项目 # 项目描述
path: org.yuxin # 解析的包路径(包括data和controller的包)
open: true # 是否开启文档功能
source: true # 是否读取源码,false则为读取resources中的easydoc.txt

项目目录结构如下:

微信图片_20200929221136

请帮忙看看是哪儿使用错了吗?

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.