[BUG] [Java Service]Body parameter displays as "request body" on swagger ui.
@tigershi is already working on this.
Since Jul 25, 2022.
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
Describe the bug
commit: 5f9c93ce435a14118373688d45c3f27d5b2d3f7a
Body parameter displays as "request body" in swagger ui.
Effected APIs:
V2:
POST[/i18n/api/v2/translation/products/{productName}/versions/{version}/locales/{locale}/components/{component}/keys]
POST[/i18n/api/v2/translation/products/{productName}/versions/{version}/locales/{locale}/components/{component}]
PUT[/i18n/api/v2/translation/products/{productName}/versions/{version}]
V1:
POST[/i18n/api/v1/translation/product/{productName}/component/{component}/key/{key}]
POST[/i18n/api/v1/translation/product/{productName}/component/{component}/sources]
PUT[/i18n/api/v1/translation/product/{productName}/version/{version}]
To Reproduce
Steps to reproduce the behavior:
- Check the above APIs in swagger ui.
- See the content:

Expected behavior
Parameter name should be shown on swagger ui, it helps user understand what it is.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.