Skip to content

[BUG] - The current project cannot generate an openAPI document by referencing another module's document annotation #1021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
morecup opened this issue May 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@morecup
Copy link

morecup commented May 6, 2025

Jimmer Version

0.9.81

JDK Version

JDK8

Database

MySQL

OS

Windows

Expected behavior

当前项目引用另一个模块的文档注解无法生成openapi文档
The current project cannot generate an openAPI document by referencing another module's document annotation

Actual behavior

The current project cannot generate an openAPI document by referencing another module's document annotation

Description

How to solve ?
Save the doc comment information of the current module to resource client file, even if the API of the current module does not require it
Use the resouces client of the module where the class is located, in order to obtain the correct document comments

Reproduction steps

module A
Image
module B
Image

run module B
openapi ChangeBelongTaggingImageryAnnotationCmd id and geo field not have description

Generated SQL

No response

Relation Model

No response

Screenshots

No response

Logs

No response

@morecup morecup added the bug Something isn't working label May 6, 2025
@morecup
Copy link
Author

morecup commented May 6, 2025

#1022
ksp arg jimmer.client.saveAllClassDocuments:
whether generate resource client for all classes in the current module(是否给当前模块的所有类生成resource client)
image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant