Giter Club home page Giter Club logo

Comments (9)

ayz6uem avatar ayz6uem commented on July 25, 2024

请帖一下你的代码

from apigcc.

ayz6uem avatar ayz6uem commented on July 25, 2024

要确保能读到源码,可以通过配置 denpendency的方式

from apigcc.

helongjun avatar helongjun commented on July 25, 2024

/** * 新增组织机构 * * @param unit 组织机构信息 * @param request * @return * @ignore unit.createUser */ @PostMapping("/createUnit") public ResultData createUnitInfo(@RequestBody @Valid Unit unit, HttpServletRequest request) { return unitService.createUnit(unit, UserUtil.getUser(request)); }

maven:
<!--rest api doc --> <plugin> <groupId>com.github.apiggs</groupId> <artifactId>apiggs-maven-plugin</artifactId> <version>1.6</version> <executions> <execution> <phase>compile</phase> <goals> <goal>apiggs</goal> </goals> </execution> </executions> <configuration> <production>api</production> <out>src/main/resources/static</out> </configuration> </plugin>

from apigcc.

ayz6uem avatar ayz6uem commented on July 25, 2024
  1. ResultData 是公共包里的么?
    在maven中配置ResultData源码位置
<configuration>
   <dependency>ResultData源码位置</dependency>
</configuration>
  1. @ignore 加在方法上时,该方法会忽略;请加在Unit的字段createUser的注释中

from apigcc.

helongjun avatar helongjun commented on July 25, 2024

是的,公共包里面的类无法解析吗

from apigcc.

ayz6uem avatar ayz6uem commented on July 25, 2024

由于不是运行时,无法找到公共包在哪,需要手动配置公共包的位置

from apigcc.

helongjun avatar helongjun commented on July 25, 2024

如何配置位置

from apigcc.

ayz6uem avatar ayz6uem commented on July 25, 2024
<configuration>
   <dependency>ResultData源码位置</dependency>
</configuration>

from apigcc.

helongjun avatar helongjun commented on July 25, 2024

好的,谢谢您

from apigcc.

Related Issues (20)

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.