vmware / vmware/singleton

[BUG] [Java Service]Body parameter displays as "request body" on swagger ui.

Open
#1,801 2 comments 0 reactions 1 assignee View on GitHub

@tigershi is already working on this.

Since Jul 25, 2022.

area/java-service kind/bug priority/low
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:

  1. Check the above APIs in swagger ui.
  2. See the content:
    image

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.