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

Wrong POST /credentials parameter in SwaggerUI #2181

Closed
lorthirk opened this issue Nov 14, 2018 · 0 comments
Closed

Wrong POST /credentials parameter in SwaggerUI #2181

lorthirk opened this issue Nov 14, 2018 · 0 comments
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it! REST API We hope to REST everyday

Comments

@lorthirk
Copy link

lorthirk commented Nov 14, 2018

Describe the bug
In SwaggerUI, the POST /credential API proposes a wrong name for one of the body fields (credentialPlainKey instead of credentialKey)

To Reproduce
Steps to reproduce the behavior:

  1. Go to SwaggerUI
  2. Open POST /credential
  3. Check the parameters in the model schema
  4. See that there's no credentialKey, but there's s credentialPlainKey instead

Expected behavior
The correct field name is credentialKey

Screenshots
schermata 2018-11-14 alle 17 15 41

Version of Kapua
1.0.0

Type of deployment
[x] Local Vagrant deployment
[x] Docker
[x] Openshift (in its variants)
[x] Others

Main component affected
[ ] Console (in case of console please report info on which browser you encountered the problem)
[x] REST API
[ ] Message Broker
[ ] - Others

Additional context
N/A

@Coduz Coduz closed this as completed Nov 15, 2018
@Coduz Coduz added Bug This is a bug or an unexpected behaviour. Fix it! REST API We hope to REST everyday labels Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it! REST API We hope to REST everyday
Projects
None yet
Development

No branches or pull requests

2 participants