Skip to content
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

After version 2.4.8, the generated MD files have incorrect line breaks in the parameter list. #352

Closed
woooyeee opened this issue Sep 15, 2022 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@woooyeee
Copy link

woooyeee commented Sep 15, 2022

Your Environment (Your Usage Environment)

  • plugin version (e.g. smart-doc-maven-plugin or smart-doc-gradle-plugin): 2.4.8 ~ 2.5.3
  • build tool version (maven or gradle): maven

Expected Behavior (Expected Outcome)

Using version 2.4.8
![image]

Current Behavior (Current Result)

After upgrading, the parameter lists for requests and responses have line break issues.
![image]

Steps to Reproduce (Steps to Generate the Bug, please provide code examples if possible)

Interface definition
![image]

IDEA line break setting
![image]

smart-doc.json

{
  "serverUrl": "",
  "isStrict": false,
  "allInOne": true,
  "showAuthor": true,
  "coverOld": true,
  "pathPrefix": "/api",
  "inlineEnum": true,
  "recursionLimit": 3,
  "packageFilters": "com.xxx.api.*",
  "outPath": "src/main/resources/static/doc",
  "projectName": "Server Name"
}
@woooyeee woooyeee added the bug Something isn't working label Sep 15, 2022
@shalousun
Copy link
Collaborator

netdied pushed a commit that referenced this issue Sep 17, 2022
@psuvjd
Copy link

psuvjd commented Oct 8, 2022

Which version of smart-doc-maven-plugin is the fix available in? (Upgrading to which version can resolve this issue?)

@shalousun
Copy link
Collaborator

shalousun commented Oct 12, 2022

Which version of smart-doc-maven-plugin is the fix available in? (Upgrading to which version can resolve this issue?)
next version 2.5.4

@psuvjd
Copy link

psuvjd commented Oct 12, 2022

ok

@shalousun shalousun added this to the 2.6.0 milestone Oct 15, 2022
@shalousun shalousun changed the title 2.4.8 版本之后,生成的md文件,参数列表换行不正确 After version 2.4.8, the generated MD files have incorrect line breaks in the parameter list. Jun 29, 2024
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

3 participants